Date: Fri, 28 Jun 2013 06:27:26 +0000 (UTC) From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321950 - head/graphics/giflib Message-ID: <201306280627.r5S6RQr8044538@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dinoex Date: Fri Jun 28 06:27:25 2013 New Revision: 321950 URL: http://svnweb.freebsd.org/changeset/ports/321950 Log: - add option X11 (default off) PR: 179929 Submitted by: Dmitry Marakasov - bump PORTREVISION because package has changed Modified: head/graphics/giflib/Makefile Modified: head/graphics/giflib/Makefile ============================================================================== --- head/graphics/giflib/Makefile Fri Jun 28 04:43:11 2013 (r321949) +++ head/graphics/giflib/Makefile Fri Jun 28 06:27:25 2013 (r321950) @@ -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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306280627.r5S6RQr8044538>