diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2013-06-28 06:27:25 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2013-06-28 06:27:25 +0000 |
commit | ce1e2477941f7c32a30a745efc62160c65d5156f (patch) | |
tree | 47ffbfb045a2eba0a32df4fe0b5464e2b458370d /graphics/giflib | |
parent | 0eb4ec627f913b629cb5cfba5bda13f7b5bd10de (diff) | |
download | ports-ce1e2477941f7c32a30a745efc62160c65d5156f.tar.gz ports-ce1e2477941f7c32a30a745efc62160c65d5156f.zip |
- add option X11 (default off)
PR: 179929
Submitted by: Dmitry Marakasov
- bump PORTREVISION because package has changed
Notes
Notes:
svn path=/head/; revision=321950
Diffstat (limited to 'graphics/giflib')
-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: |