Date: Sun, 19 Dec 2010 17:42:25 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: Portmaster recursion problem Message-ID: <4D0E4401.5060602@infracaninophile.co.uk> In-Reply-To: <e20a2fd2465d529ce801fa40a10b02ca@flabnapple.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On 19/12/2010 17:03, Ron (Lists) wrote:
> ===>>> Launching child to update devel/autoconf
> devel/autoconf >> perl-5.8.9_3 >> apache-2.2.17 >> devel/autoconf >>
> perl-5.8.9_3 >> apache-2.2.17 >> devel/autoconf >> perl-5.8.9_3 >>
> apache-2.2.17 >> devel/autoconf >> perl-5.8.9_3 >> apache-2.2.17 >>
> devel/autoconf >> perl-5.8.9_3 >> apache-2.2.17 >> devel/autoconf >>
> perl-5.8.9_3 >> apache-2.2.17 >> devel/autoconf >> perl-5.8.9_3 >>
> apache-2.2.17 >> devel/autoconf
>
> This just keeps going and going. I've tried upgrading other ports and
> they all do the same thing (with slightly different packages).
This is a classic symptom of putting USE_FOO into a Makefile with global
scope -- typically /etc/make.conf
Don't do that.
USE_FOO flags are for port maintainers to use in port specific
Makefiles. They do things like make the port have a dependency on
apache. Which is no good if you apply it to /every/ /single/ /port/ in
the tree, and particularly bad when its a port that apache itself
depends on, as you end up with a dependency loop.
Dependency loops are (in Ghostbusters parlance) like crossing the
streams. Anyone generating dependency loops deserves to be pelted with
stay-puft marshmallow, at the very least.
Instead, you want to use a WITH_FOO variable, or a WANT_FOO variable.
These are intended as user servicable parts. For apache, that would be
something like the following to make www/apache22 the default apache port:
WITH_APACHE2= yes
APACHE_PORT= www/apache22
Cheers,
Matthew
--
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0ORAkACgkQ8Mjk52CukIxU9QCgksV9pLukmunFd5XBpVUYyDkZ
fI4AnR4EwTaEOouGLeZFMiFlRID8sMnU
=J/+C
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D0E4401.5060602>
