Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2004 12:33:41 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Paul Murphy <pnmurphy@cogeco.ca>, FreeBSD Ports <freebsd-ports@FreeBSD.ORG>
Cc:        marcus@FreeBSD.ORG
Subject:   Re: ghostscript-afpl vs ghostscript-gnu
Message-ID:  <20040215203341.GC53260@xor.obsecurity.org>
In-Reply-To: <20040215130727.GA44779@falcon.midgard.homeip.net>
References:  <20040214225426.5bb203ea@earth.upton.net> <20040215130727.GA44779@falcon.midgard.homeip.net>

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

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



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