On Fri, Dec 30, 2005 at 11:29:26PM +0000, Stuart Henderson wrote:
> 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.

no, it does not. maybe it does on your box without X11 but with X11, it
pulls in fontconfig and freetype. so you can try to make a no_x11 flavor,
which adds --without-fontconfig --without-freetype.


> 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:


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

Reply via email to