aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-12-28 14:37:48 +0800
committerdinoex <dinoex@FreeBSD.org>2013-12-28 14:37:48 +0800
commitb955cfb8647d8a591cb6afd8e0ab0d98c563724f (patch)
tree1964a9b294063f8f2aa9f4a1de6447d03abe36cb /graphics
parente8bba92b85c95141c480c843662c5540a6872488 (diff)
downloadfreebsd-ports-gnome-b955cfb8647d8a591cb6afd8e0ab0d98c563724f.tar.gz
freebsd-ports-gnome-b955cfb8647d8a591cb6afd8e0ab0d98c563724f.tar.zst
freebsd-ports-gnome-b955cfb8647d8a591cb6afd8e0ab0d98c563724f.zip
- use OPT_CONFIGURE_*
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gd/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/graphics/gd/Makefile b/graphics/gd/Makefile
index 457ec891d1fc..c289c6766912 100644
--- a/graphics/gd/Makefile
+++ b/graphics/gd/Makefile
@@ -36,6 +36,9 @@ ICONV_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG}
ICONV_CONFIGURE_OFF= --with-libiconv-prefix=no
VPX_LIB_DEPENDS= libvpx.so:${PORTSDIR}/multimedia/libvpx
VPX_CONFIGURE_OFF= --without-vpx
+XPM_USE= xorg=xpm,x11
+XPM_CONFIGURE_ON= --with-x
+XPM_CONFIGURE_OFF= --with-xpm=no
.include <bsd.port.options.mk>
@@ -43,16 +46,6 @@ PKGCONFIGDIR?= ${LOCALBASE}/libdata/pkgconfig
# force gdlib-config --ldflags
LDFLAGS+= -L${LOCALBASE}/lib
-# honor global WITHOUT_X11
-.if !defined(WITHOUT_X11)
-.if ${PORT_OPTIONS:MXPM}
-USE_XORG= xpm x11
-GNU_CONFIGURE_ARGS+= --with-x
-.else
-GNU_CONFIGURE_ARGS+= --with-xpm=no
-.endif
-.endif
-
# The GD_FONTS environment variable can be set to specify the gzipped
# tar-ball containing the fonts in bdf format and the bdf file names.
# The tarball is the first argument, the tiny, small, medium-bold,