aboutsummaryrefslogtreecommitdiff
path: root/graphics/giflib
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2014-04-05 14:19:32 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2014-04-05 14:19:32 +0000
commit73a7dddde1350e837876a2f98cff6e1e7c581c14 (patch)
treeaa4791c70c8e84c4b044e61e42e1b52c0f6d5677 /graphics/giflib
parentaa2aee578a6a217edbd64f1e8e3f0b07cf2af523 (diff)
downloadports-73a7dddde1350e837876a2f98cff6e1e7c581c14.tar.gz
ports-73a7dddde1350e837876a2f98cff6e1e7c581c14.zip
Notes
Diffstat (limited to 'graphics/giflib')
-rw-r--r--graphics/giflib/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile
index ff2f368e3ae6..b81d587187a7 100644
--- a/graphics/giflib/Makefile
+++ b/graphics/giflib/Makefile
@@ -20,8 +20,11 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
OPTIONS_DEFINE= DOCBOOK X11
+OPTIONS_SUB= yes
DOCBOOK_DESC= Generate API documentation (requires DOCS)
+X11_CONFIGURE_ENABLE= x11
+
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MDOCBOOK} && ${PORT_OPTIONS:MDOCS}
@@ -33,12 +36,9 @@ PLIST_SUB+= WITH_DOCBOOK='@comment '
.endif
.if ${PORT_OPTIONS:MX11}
-USE_XORG= sm x11
-PLIST_SUB+= X11=''
+USE_XORG= x11 sm ice
CPPFLAGS+= -I${LOCALBASE}/include
.else
-PLIST_SUB+= X11='@comment '
-CONFIGURE_ARGS+= --with-x=no
NOX11SUFFIX= -nox11
.endif