Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Sep 2011 21:30:26 +0100
From:      Matthew Seaman <>
To:        Scott Ballantyne <>
Subject:   Re: portmaster -r libnotify-0 problems
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
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
> portmaster -r libnotify-0
> This trys to install ghostscript9, and fails. Apparently ghostscript9
> conflicts with ghostscript8-8.71_6, which presumably is the reason for
> the failure.
> 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


   * 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


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

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



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
JID:               Kent, CT11 9PW

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

Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla -



Want to link to this message? Use this URL: <>