Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2006 13:55:58 +0200
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de>
Cc:        Jiawei Ye <leafy7382@gmail.com>, freebsd-ports@freebsd.org
Subject:   Re: dependency inheritance
Message-ID:  <20060518115558.GE1039@roadrunner.informatik.uni-wuerzburg.de>
In-Reply-To: <4468361E.1090405@gmx.de>
References:  <44682A60.1090701@gmx.de> <c21e92e20605150051h39dd482ct278c59fa92030458@mail.gmail.com> <4468361E.1090405@gmx.de>

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

--oj4kGyHlBMXGt3Le
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

[LoN]Kamikaze wrote:
> What I'd like to know is weather there is something wrong with my port.
> This problem makes it necessary to run 'pkgdb -F' to use portupgrade.
> Which is annoying in my opinion.

A known problem. Prior to ghostscript-afpl being taken care of in
bsd.port.mk, I always had to fix dependencies from ghostscript-gpl ->
ghostscript->afpl.

Same thing happens if you have lynx-ssl installed, and some other port
depends on lynx:www/lynx, it will find a lynx binary (of course) and
then blindly depend on www/lynx (wrong).

A possible fix is to not record what's specified in the Makefile, as
this is only a suggestion on which port to install if the dep is not
satisfied. But to use the output of pkg_info -qo `pkg_info -qW lynx`
which will return www/lynx-ssl on my system.

Problem: If lynx has been installed by hand, the pkg_info calls will
fail and you'd have to fallback to the suggestion provided in the
Makefile.

Ulrich Spoerlein
--=20
 PGP Key ID: 20FEE9DD				Encrypted mail welcome!
Fingerprint: AEC9 AF5E 01AC 4EE1 8F70  6CBD E76E 2227 20FE E9DD
Which is worse: ignorance or apathy?
Don't know. Don't care.

--oj4kGyHlBMXGt3Le
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEbGDN524iJyD+6d0RAhVQAJ0cjerBK2YAyFvHxP9oxFiZOMxYWACdFpBZ
IhUGgEWQGTFRmOPXcRQxS4g=
=LPX8
-----END PGP SIGNATURE-----

--oj4kGyHlBMXGt3Le--



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