From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Dec 14 18:50:10 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C6FB1065677 for ; Wed, 14 Dec 2011 18:50:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 064398FC1B for ; Wed, 14 Dec 2011 18:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBEIo8K4003030 for ; Wed, 14 Dec 2011 18:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBEIo8HS003029; Wed, 14 Dec 2011 18:50:08 GMT (envelope-from gnats) Resent-Date: Wed, 14 Dec 2011 18:50:08 GMT Resent-Message-Id: <201112141850.pBEIo8HS003029@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, Greg Larkin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB0BF1065673 for ; Wed, 14 Dec 2011 18:49:09 +0000 (UTC) (envelope-from glarkin@sourcehosting.net) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id 844378FC0A for ; Wed, 14 Dec 2011 18:49:09 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=imac.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Ratst-000PcB-1f; Wed, 14 Dec 2011 13:49:04 -0500 Received: from sourcehosting.net (unknown [192.168.216.128]) by imac.entropy.prv (Postfix) with SMTP id DFEDCC70F39; Wed, 14 Dec 2011 13:48:58 -0500 (EST) Received: (nullmailer pid 78849 invoked by uid 1001); Wed, 14 Dec 2011 18:48:58 -0000 Message-Id: <1323888538.687802.78848.nullmailer@sourcehosting.net> Date: Wed, 14 Dec 2011 13:48:58 -0500 From: Greg Larkin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: doceng@FreeBSD.org Subject: ports/163291: [PATCH] print/ghostscript9: Automatically disable X11 option when WITHOUT_X11 is set X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2011 18:50:10 -0000 >Number: 163291 >Category: ports >Synopsis: [PATCH] print/ghostscript9: Automatically disable X11 option when WITHOUT_X11 is set >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: Wed Dec 14 18:50:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Greg Larkin >Release: FreeBSD 8.2-RELEASE amd64 >Organization: The FreeBSD Project >Environment: System: FreeBSD amd64_82.localdomain 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 >Description: The X11 option is defaulted to "on", even when building the -nox11 version of the port. Added a block of code to detect WITHOUT_X11 option and automatically disable the X11 option. Port maintainer (doceng@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: cd /usr/ports/print/ghostscript9-nox11 && make config >Fix: --- ghostscript9-nox11-9.02_5.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/print/ghostscript9/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 23 Sep 2011 22:25:00 -0000 1.6 +++ Makefile 14 Dec 2011 18:46:34 -0000 @@ -7,7 +7,7 @@ PORTNAME= ghostscript9 PORTVERSION= 9.02 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= print MASTER_SITES= http://ghostscript.com/releases/:gs_srcs \ SF/ghostscript/files/GPL%20Ghostscript/${PORTVERSION}:gs_srcs \ @@ -74,11 +74,19 @@ PKGMESSAGE= ${WRKDIR}/pkg-message DATADIR= ${PREFIX}/share/${PORTNAME:S,9$,,} +.if defined(WITHOUT_X11) +OPTIONS= A4SIZE "Set A4 (not Letter) as a default paper size" off \ + CUPS "Enable CUPS support" on \ + FONTCONFIG "fontconfig support" on \ + GTK "GTK frontend" off \ + X11 "X11 support" off +.else OPTIONS= A4SIZE "Set A4 (not Letter) as a default paper size" off \ CUPS "Enable CUPS support" on \ FONTCONFIG "fontconfig support" on \ GTK "GTK frontend" off \ X11 "X11 support" on +.endif MAN1= dvipdf.1 font2c.1 gs.1 gslp.1 gsnd.1 \ pdf2dsc.1 pdf2ps.1 pdfopt.1 pf2afm.1 pfbtopfa.1 printafm.1 \ --- ghostscript9-nox11-9.02_5.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: