Bug 188792 - graphics/php53-gd: depends on wrong libfreetype.so.9 instead of libfreetype.so.6
Summary: graphics/php53-gd: depends on wrong libfreetype.so.9 instead of libfreetype.so.6
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Florian Smeets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-19 13:30 UTC by never
Modified: 2014-04-19 17:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description never 2014-04-19 13:30:00 UTC
When trying to build/rebuild graphics/php53-gd it depends on libfreetype.so.9
and tries to install print/freetype2 again as a dependency, while it is already
present on system and has libfreetype.so.6, not .9. After that installation
fails with message about freetype2 already installed.

[root@server /usr/ports/graphics/php53-gd]# make -V LIB_DEPENDS
libfreetype.so.9:/usr/ports/print/freetype2  libpng15.so:/usr/ports/graphics/png  libjpeg.so.11:/usr/ports/graphics/jpeg libt1.so.5:/usr/ports/devel/t1lib
[root@server /usr/ports/graphics/php53-gd]# grep libfreetype.so ../../print/freetype2/pkg-plist
lib/libfreetype.so
lib/libfreetype.so.6
lib/libfreetype.so.6.11.2

Fix: 

N/A
How-To-Repeat: cd /usr/ports/print/freetype2 && make install clean
cd /usr/ports/graphics/php53-gd && make install clean
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-19 13:30:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->flo

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-04-19 16:57:49 UTC
Author: tijl
Date: Sat Apr 19 15:57:46 2014
New Revision: 351598
URL: http://svnweb.freebsd.org/changeset/ports/351598
QAT: https://qat.redports.org/buildarchive/r351598/

Log:
  Fix libfreetype dependencies.
  
  PR:		ports/188792

Modified:
  head/devel/libg19draw/Makefile
  head/games/etracer/Makefile
  head/lang/php53/Makefile.ext

Modified: head/devel/libg19draw/Makefile
==============================================================================
--- head/devel/libg19draw/Makefile	Sat Apr 19 13:54:30 2014	(r351597)
+++ head/devel/libg19draw/Makefile	Sat Apr 19 15:57:46 2014	(r351598)
@@ -11,7 +11,7 @@ MAINTAINER=	armin@frozen-zone.org
 COMMENT=	G19 draw library
 
 LIB_DEPENDS=	libg19.so:${PORTSDIR}/devel/libg19 \
-		libfreetype.so.9:${PORTSDIR}/print/freetype2
+		libfreetype.so:${PORTSDIR}/print/freetype2
 
 CONFIGURE_ENV=	LDFLAGS="-L${LOCALBASE}/lib -pthread"
 

Modified: head/games/etracer/Makefile
==============================================================================
--- head/games/etracer/Makefile	Sat Apr 19 13:54:30 2014	(r351597)
+++ head/games/etracer/Makefile	Sat Apr 19 15:57:46 2014	(r351598)
@@ -12,7 +12,7 @@ MAINTAINER=		peter_dunning@dsl.pipex.com
 COMMENT=		The latest and greatest fork of the classic Tux Racer
 
 LIB_DEPENDS=		libpng15.so:${PORTSDIR}/graphics/png \
-			libfreetype.so.9:${PORTSDIR}/print/freetype2
+			libfreetype.so:${PORTSDIR}/print/freetype2
 
 USE_SDL=		mixer sdl
 USE_XORG=		x11 xi xext xmu xt

Modified: head/lang/php53/Makefile.ext
==============================================================================
--- head/lang/php53/Makefile.ext	Sat Apr 19 13:54:30 2014	(r351597)
+++ head/lang/php53/Makefile.ext	Sat Apr 19 15:57:46 2014	(r351598)
@@ -87,9 +87,9 @@ USE_OPENSSL=	yes
 .endif
 
 .if ${PHP_MODNAME} == "gd"
-LIB_DEPENDS=	libfreetype.so.9:${PORTSDIR}/print/freetype2 \
+LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2 \
 		libpng15.so:${PORTSDIR}/graphics/png \
-		libjpeg.so.11:${PORTSDIR}/graphics/jpeg
+		libjpeg.so:${PORTSDIR}/graphics/jpeg
 
 CONFIGURE_ARGS+=--with-gd \
 		--with-freetype-dir=${LOCALBASE} \
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Tijl Coosemans freebsd_committer freebsd_triage 2014-04-19 16:58:08 UTC
State Changed
From-To: open->closed

Fixed in r351598.