Date: Mon, 21 Nov 2005 05:46:49 -0500 From: Nicolas Blais <nb_root@videotron.ca> To: freebsd-current@freebsd.org Cc: Nate Eldredge <nge@cs.hmc.edu>, Brian Candler <B.Candler@pobox.com> Subject: Re: [patch] remove build dependencies in bsd.ports.mk Message-ID: <200511210547.10306.nb_root@videotron.ca> In-Reply-To: <Pine.GSO.4.63.0511210146040.20520@turing> References: <200511201403.58634.nb_root@videotron.ca> <20051121090813.GD21670@uk.tiscali.com> <Pine.GSO.4.63.0511210146040.20520@turing>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1343507.ohm3DFmO9j Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On November 21, 2005 04:53 am, Nate Eldredge wrote: > On Mon, 21 Nov 2005, Brian Candler wrote: > > I don't support the ports system is smart enough to remember which ports > > were installed explicitly, and which were installed only because they > > were a dependency for another port? > > I don't think so, but this would be a useful feature. Debian's aptitude > package manager has a feature like this, which is very convenient. It > works as follows. Suppose package Foo requires package Bar, and neither > is currently installed. When you request the installation of Foo, Bar is > also installed, but an "auto" flag is set for Bar. Any package with the > auto flag set is only kept so long as something depends on it. If I > remove Foo, Bar is automatically removed as well, provided I haven't in > the meantime added anything else which depends on it. > > The user can toggle the auto flag manually as well. If I decide I really > like Bar in itself, I can turn off its auto flag and keep it after I > remove Foo. If I am sick of Foo, I can set its auto flag and it will be > removed once it is no longer needed (possibly at once). > > Anyway, AFAIK FreeBSD doesn't have anything like this, but it would be > nifty if it did. > > I would guess build dependencies should be treated like regular > dependencies. If they're removed after building, then you would have to > reinstall them every time you upgrade the depending package. This is why I made the patch. I found it useless to have gcc-ooo and many=20 other ports that could be cleaned out after a build, without having to run = a=20 tier software. =20 It would be a nice thing if the port system did that, as it would be it's j= ob=20 to do so.=20 =2D-=20 =46reeBSD 7.0-CURRENT #1: Sat Nov 19 12:36:29 EST 2005 =20 root@clk01a:/usr/obj/usr/src/sys/CLK01A=20 PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc --nextPart1343507.ohm3DFmO9j Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDgaWu4wTBlvcsbJURAhXQAJ9EKfl/12OiPCnqOvj5NV9bZ2OSZgCeL4ky 9KAFzTLhTDTSCXHomu/yu9Q= =uOMp -----END PGP SIGNATURE----- --nextPart1343507.ohm3DFmO9j--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511210547.10306.nb_root>