Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2013 17:40:47 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        dinoex@FreeBSD.org
Subject:   ports/179929: [PATCH] graphics/giflib: add X11 to OPTIONS
Message-ID:  <20130624134047.97E5CC05@hades.panopticon>
Resent-Message-ID: <201306241350.r5ODo0jO034838@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130624134047.97E5CC05>