diff options
Diffstat (limited to 'graphics/giflib/Makefile')
-rw-r--r-- | graphics/giflib/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile index 47233fb42796..3416e482e7bc 100644 --- a/graphics/giflib/Makefile +++ b/graphics/giflib/Makefile @@ -3,7 +3,7 @@ PORTNAME= giflib PORTVERSION= 4.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-4.x PKGNAMESUFFIX= ${NOX11SUFFIX}${PKGNAMESUFFIX2} @@ -19,7 +19,7 @@ USE_AUTOTOOLS= libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes -OPTIONS_DEFINE= DOCBOOK +OPTIONS_DEFINE= DOCBOOK X11 DOCBOOK_DESC= Generate API documentation (requires DOCS) .include <bsd.port.pre.mk> @@ -32,14 +32,14 @@ PLIST_SUB+= WITH_DOCBOOK='' PLIST_SUB+= WITH_DOCBOOK='@comment ' .endif -.if defined(WITHOUT_X11) -PLIST_SUB+= X11='@comment ' -CONFIGURE_ARGS+= --with-x=no -NOX11SUFFIX= -nox11 -.else +.if ${PORT_OPTIONS:MX11} USE_XORG= sm x11 PLIST_SUB+= X11='' CPPFLAGS+= -I${LOCALBASE}/include +.else +PLIST_SUB+= X11='@comment ' +CONFIGURE_ARGS+= --with-x=no +NOX11SUFFIX= -nox11 .endif post-patch: |