[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

graphics/gd X11 dependency



A commit message for graphics/gd a couple of months ago mentions
removing X11 dependencies. However, this is not complete: USE_X11
is still set, and fontconfig and freetype are still listed in
WANTLIB. This gives a bit of a wild-goose chase when someone who
doesn't realise fontconfig is part of X tries to update gd-1.8.3
to gd-2.0.33 on a box without X.

It seems to work correctly with this patch.

Index: graphics/gd/Makefile
===================================================================
RCS file: /data/cvs/OpenBSD/ports/graphics/gd/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- graphics/gd/Makefile	26 Dec 2005 14:40:13 -0000	1.43
+++ graphics/gd/Makefile	30 Dec 2005 23:28:47 -0000
@@ -3,7 +3,7 @@
 COMMENT=	"library for dynamic creation of images"
 
 DISTNAME=	gd-2.0.33
-PKGNAME=	${DISTNAME}p2
+PKGNAME=	${DISTNAME}p3
 SHARED_LIBS=		gd	20.33
 MODGNU_SHARED_LIBS=	gd	''
 CATEGORIES=	graphics
@@ -16,7 +16,7 @@
 
 MODULES=	converters/libiconv
 
-WANTLIB=	c fontconfig freetype m z
+WANTLIB=	c m z
 
 PERMIT_PACKAGE_CDROM=	Yes
 PERMIT_PACKAGE_FTP=	Yes
@@ -26,7 +26,6 @@
 CONFIGURE_STYLE= gnu
 CONFIGURE_ARGS+= --without-xpm
 
-USE_X11=	Yes
 USE_LIBTOOL=	Yes
 
 post-install:

Visit your host, monkey.org