From owner-freebsd-ports@FreeBSD.ORG Sun Feb 15 12:33:44 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C079316A4CE; Sun, 15 Feb 2004 12:33:44 -0800 (PST) Received: from mtaw6.prodigy.net (mtaw6.prodigy.net [64.164.98.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id B89D943D2D; Sun, 15 Feb 2004 12:33:44 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (5e9242c67123b31aac056f494b0857c0@adsl-67-119-53-169.dsl.lsan03.pacbell.net [67.119.53.169]) by mtaw6.prodigy.net (8.12.10/8.12.10) with ESMTP id i1FKWmhF029763; Sun, 15 Feb 2004 12:32:48 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B3EB266D0E; Sun, 15 Feb 2004 12:33:41 -0800 (PST) Date: Sun, 15 Feb 2004 12:33:41 -0800 From: Kris Kennaway To: Paul Murphy , FreeBSD Ports Message-ID: <20040215203341.GC53260@xor.obsecurity.org> References: <20040214225426.5bb203ea@earth.upton.net> <20040215130727.GA44779@falcon.midgard.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OBd5C1Lgu00Gd/Tn" Content-Disposition: inline In-Reply-To: <20040215130727.GA44779@falcon.midgard.homeip.net> User-Agent: Mutt/1.4.1i cc: marcus@FreeBSD.ORG Subject: Re: ghostscript-afpl vs ghostscript-gnu X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2004 20:33:44 -0000 --OBd5C1Lgu00Gd/Tn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 15, 2004 at 02:07:27PM +0100, Erik Trulsson wrote: > On Sat, Feb 14, 2004 at 10:54:26PM -0500, Paul Murphy wrote: > > I am trying to install print/cups-pstoraster and came across this > > difficulty: > >=20 > > RUN_DEPENDS=3D > > ${LOCALBASE}/share/ghostscript/${PORTVERSION}/lib/gs_init.ps:${PORTSDIR > > }/print/ghostscript-gnu > >=20 > > I already have print/ghostscript-afpl installed which CONFLICTS with > > print/ghostscript-gnu. I worked around the problem with a soft-link in > > /usr/local/share/ghostscript (ln -s 8.13 7.07). > >=20 > > Can print/cups-pstoraster be made to test which version of ghostscript > > is installed (if any), perhaps by replacing ${PORTVERSION} with '*'? > >=20 >=20 > There is an even better solution to this (you are not the first person > to run into this problem.) > Replace the above dependency line with "USE_GHOSTSCRIPT_RUN=3Dyes", and > then set WITH_GHOSTSCRIPT_AFPL=3Dyes to use ghostscript-afpl instead of > ghostscript-gnu (the default.) > See the print/transfig port for an example on how to do this. Eww, how did this superfluous variable get into bsd.port.mk? You're supposed to use GHOSTSCRIPT_PORT to specify which of the n ghostscript ports you want to use. Kris --OBd5C1Lgu00Gd/Tn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAL9ekWry0BWjoQKURAluuAJwNE1g1bsqmbjVv9qaAwzlSY2xoLwCgusb1 3pfwj9ZVXAi2YB1DW37MsDo= =NfMu -----END PGP SIGNATURE----- --OBd5C1Lgu00Gd/Tn--