Index: graphics/p5-GD/Makefile =================================================================== RCS file: /cvs/ports/graphics/p5-GD/Makefile,v retrieving revision 1.22 diff -u -r1.22 Makefile --- graphics/p5-GD/Makefile 2006/08/03 12:53:18 1.22 +++ graphics/p5-GD/Makefile 2006/10/05 19:37:46 @@ -17,7 +17,7 @@ PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WANTLIB= fontconfig freetype jpeg m png z +WANTLIB= jpeg m png z MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=GD/} @@ -25,7 +25,16 @@ MODULES= converters/libiconv -USE_X11= Yes +FLAVORS= no_x11 +FLAVOR?= + +.if ${FLAVOR:Mno_x11} +CONFIGURE_ARGS+= -options "JPEG,PNG" +.else +CONFIGURE_ARGS+= -options "JPEG,FT,PNG" +WANTLIB+= fontconfig freetype + USE_X11= Yes +.endif CONFIGURE_STYLE= perl