From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 24 13:50:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2F97D740 for ; Mon, 24 Jun 2013 13:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id EF5011915 for ; Mon, 24 Jun 2013 13:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r5ODo0rM034839 for ; Mon, 24 Jun 2013 13:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r5ODo0jO034838; Mon, 24 Jun 2013 13:50:00 GMT (envelope-from gnats) Resent-Date: Mon, 24 Jun 2013 13:50:00 GMT Resent-Message-Id: <201306241350.r5ODo0jO034838@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 735C455D; Mon, 24 Jun 2013 13:40:55 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [92.53.116.10]) by mx1.freebsd.org (Postfix) with ESMTP id 353131887; Mon, 24 Jun 2013 13:40:55 +0000 (UTC) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLS1.0:DHE_RSA_CAMELLIA_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Ur70i-0001gQ-8t; Mon, 24 Jun 2013 17:40:48 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id A39E7D6A; Mon, 24 Jun 2013 17:40:47 +0400 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 97E5CC05; Mon, 24 Jun 2013 17:40:47 +0400 (MSK) Message-Id: <20130624134047.97E5CC05@hades.panopticon> Date: Mon, 24 Jun 2013 17:40:47 +0400 (MSK) From: Dmitry Marakasov To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/179929: [PATCH] graphics/giflib: add X11 to OPTIONS Cc: dinoex@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2013 13:50:01 -0000 >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 @@ -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: