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> References: <e20a2fd2465d529ce801fa40a10b02ca@flabnapple.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD6D38BA5FA591C5851692A0D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 19/12/2010 17:03, Ron (Lists) wrote: > =3D=3D=3D>>> 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 >=20 > 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=3D yes APACHE_PORT=3D www/apache22 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 --------------enigD6D38BA5FA591C5851692A0D 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/ iEYEARECAAYFAk0ORAkACgkQ8Mjk52CukIxU9QCgksV9pLukmunFd5XBpVUYyDkZ fI4AnR4EwTaEOouGLeZFMiFlRID8sMnU =J/+C -----END PGP SIGNATURE----- --------------enigD6D38BA5FA591C5851692A0D--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D0E4401.5060602>