svn commit: r321950 - head/graphics/giflib

Dirk Meyer dinoex at FreeBSD.org
Fri Jun 28 06:27:26 UTC 2013


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:


More information about the svn-ports-all mailing list