ports/179929: [PATCH] graphics/giflib: add X11 to OPTIONS

Dmitry Marakasov amdmi3 at amdmi3.ru
Mon Jun 24 13:50:01 UTC 2013


>Number:         179929
>Category:       ports
>Synopsis:       [PATCH] graphics/giflib: add X11 to OPTIONS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jun 24 13:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 9.1-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 9.1-RELEASE-p2 FreeBSD 9.1-RELEASE-p2 #0 r249077: Thu Apr  4 10:42:30
>Description:
Add X11 to OPTIONS, disabled by default, as it brings little functionality (simple x11 gif viewer) with many extra depends.

Port maintainer (dinoex at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- giflib-nox11-4.2.1_1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 321680)
+++ Makefile	(working copy)
@@ -19,7 +19,7 @@
 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='@comment '
 .endif
 
-.if defined(WITHOUT_X11)
+.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
-.else
-USE_XORG=	sm x11
-PLIST_SUB+=	X11=''
-CPPFLAGS+=	-I${LOCALBASE}/include
 .endif
 
 post-patch:
--- giflib-nox11-4.2.1_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list