From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 20 08:00:10 2009 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 8B82A1065677 for ; Wed, 20 May 2009 08:00: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 435EA8FC31 for ; Wed, 20 May 2009 08:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4K80Aii000133 for ; Wed, 20 May 2009 08:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4K80Am0000130; Wed, 20 May 2009 08:00:10 GMT (envelope-from gnats) Resent-Date: Wed, 20 May 2009 08:00:10 GMT Resent-Message-Id: <200905200800.n4K80Am0000130@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, Helge Oldach Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39C75106564A; Wed, 20 May 2009 07:59:56 +0000 (UTC) (envelope-from hmo@sep.oldach.net) Received: from rigel.oldach.net (rigel.oldach.net [194.8.96.250]) by mx1.freebsd.org (Postfix) with ESMTP id A82918FC24; Wed, 20 May 2009 07:59:55 +0000 (UTC) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (hmo.in-dsl.de [217.197.85.210]) by rigel.oldach.net (8.14.3/8.14.3/hmo30jul04) with ESMTP id n4K7RxIs085257 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 20 May 2009 09:28:00 +0200 (CEST) (envelope-from hmo@sep.oldach.net) Received: from sep.oldach.net (localhost [127.0.0.1]) by sep.oldach.net (8.14.3/8.14.3/hmo26jun05) with ESMTP id n4K7RxVd097331 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 May 2009 09:27:59 +0200 (CEST) (envelope-from hmo@sep.oldach.net) Received: (from hmo@localhost) by sep.oldach.net (8.14.3/8.14.3/Submit/hmo26jun05) id n4K7RxWI097329; Wed, 20 May 2009 09:27:59 +0200 (CEST) (envelope-from hmo) Message-Id: <200905200727.n4K7RxWI097329@sep.oldach.net> Date: Wed, 20 May 2009 09:27:59 +0200 (CEST) From: Helge Oldach To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: doceng@FreeBSD.org Subject: ports/134742: [patch] ports/print/ghostscript8: make cups-image optional X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Helge Oldach List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2009 08:00:11 -0000 >Number: 134742 >Category: ports >Synopsis: [patch] ports/print/ghostscript8: make cups-image optional >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 May 20 08:00:09 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Helge Oldach >Release: FreeBSD 6.4-1455 i386 >Organization: >Environment: System: FreeBSD localhost 6.4-1455 FreeBSD 6.4-1455 #0: Thu May 7 15:24:21 CEST 2009 toor@localhost:/usr/obj/usr/src/sys/HMO i386 >Description: cups-image support has been re-established for ghostscript8 recently with Makefile rev. 1.182. However, this should be made optional, for those who do not need or use cups and/or cups-image. This avoids a rather lengthy dependency on CUPS and re-enables the behaivour that we had until rev. 1.181. Please see the rather trivial patch below. >How-To-Repeat: >Fix: --- Makefile.ctm 2009-05-18 23:46:34.000000000 +0200 +++ Makefile 2009-05-20 09:05:43.000000000 +0200 @@ -22,8 +22,7 @@ COMMENT= Ghostscript 8.x PostScript interpreter LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ - png.5:${PORTSDIR}/graphics/png \ - cupsimage.2:${PORTSDIR}/print/cups-image + png.5:${PORTSDIR}/graphics/png RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME:S,8,,}/fonts/a010013l.pfb:${PORTSDIR}/print/gsfonts CONFLICTS= gambc-[0-9]* ghostscript7-[0-9]* ghostscript7-*-[0-9]* @@ -60,7 +59,8 @@ OPTIONS= A4SIZE "Set A4 (not Letter) as a default paper size" off \ FONTCONFIG "fontconfig support" on \ FT_BRIDGE "FreeType bridge" off \ - X11 "X11 support" on + X11 "X11 support" on \ + CUPS_IMAGE "enable cups-image" on MAN1= dvipdf.1 font2c.1 gs.1 gslp.1 gsnd.1 \ pdf2dsc.1 pdf2ps.1 pdfopt.1 pf2afm.1 pfbtopfa.1 printafm.1 \ @@ -78,6 +78,12 @@ .include "Makefile.drivers" .include +.if !defined(WITHOUT_CUPS_IMAGE) +LIB_DEPENDS+= cupsimage.2:${PORTSDIR}/print/cups-image +.else +CONFIGURE_ARGS+= --disable-cups +.endif + .for D in ${OPTIONS:MGS_*:S/^GS_//} .if !defined(WITHOUT_GS_${D}) PLIST_SUB+= GS_${D}="" >Release-Note: >Audit-Trail: >Unformatted: