Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Sep 2011 21:30:26 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Scott Ballantyne <sdb@ssr.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: portmaster -r libnotify-0 problems
Message-ID:  <4E6A7762.4050508@infracaninophile.co.uk>
In-Reply-To: <20110909141315.96273.qmail@irelay.ssr.com>
References:  <20110909141315.96273.qmail@irelay.ssr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig473AADCD70025C6AEE32BB52
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On 09/09/2011 15:13, Scott Ballantyne wrote:
> I've been trying to update libnotify and libproxy following the
> instructions in UPDATING, which is to do
>=20
> portmaster -r libnotify-0
>=20
> This trys to install ghostscript9, and fails. Apparently ghostscript9
> conflicts with ghostscript8-8.71_6, which presumably is the reason for
> the failure.
>=20
> Could someone help me resolve this? The obvious solution of pkg_delete
> ghostscript8-8.71_6 doesn't work, because too many installed ports
> depend on ghostscript8-8.71_6.

There are two approaches you might take here.  Either

   * replace ghostscript8 with ghostscript9

or

   * work out why libnotify triggers a dependency on ghostscript9
     and try and make it use ghostscript8 (or nothing) instead.

The first is a relatively mechanical process, which should work fine
from the point of view of doing all the port wrangling, but might result
in further ghostscript8 vs ghostscript9 problems down the line.
Just run:

    # portmaster -o print/ghostscript9 ghostscript8-

That will change the dependency settings in your /var/db/pkg directory,
which may or may not be appropriate for all ghostscript dependent ports,
and indeed some may not work at all.  (Although I rather doubt the
simply not-working thing: functionality between those versions hasn't
changed much at all.)

The second is a more satisfying fix.  Lets see... Try defining

   WITH_GHOSTSCRIPT_VER=3D8

in /etc/make.conf  (the default is 9 nowadays) -- then try reinstalling
libnotify according to the instructions in UPDATING.

Read /usr/ports/Mk/bsd.port.mk for the details -- search for GHOSTSCRIPT
to find the relevant bits.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


--------------enig473AADCD70025C6AEE32BB52
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5qd2kACgkQ8Mjk52CukIxNeQCfXhZtmwI5mLjBaGnoZpZDZRwd
v10AmwRgFTuciEsQmsJYM8BWwGY96XfJ
=eHFu
-----END PGP SIGNATURE-----

--------------enig473AADCD70025C6AEE32BB52--



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