From owner-freebsd-current@FreeBSD.ORG Mon Nov 21 10:47:11 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D946A16A41F for ; Mon, 21 Nov 2005 10:47:11 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7818943D4C for ; Mon, 21 Nov 2005 10:47:11 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from clk01a ([66.130.198.54]) by VL-MO-MR002.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0IQA006U2WMMI5F0@VL-MO-MR002.ip.videotron.ca> for freebsd-current@freebsd.org; Mon, 21 Nov 2005 05:47:10 -0500 (EST) Date: Mon, 21 Nov 2005 05:46:49 -0500 From: Nicolas Blais In-reply-to: To: freebsd-current@freebsd.org Message-id: <200511210547.10306.nb_root@videotron.ca> MIME-version: 1.0 Content-type: multipart/signed; boundary=nextPart1343507.ohm3DFmO9j; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit References: <200511201403.58634.nb_root@videotron.ca> <20051121090813.GD21670@uk.tiscali.com> User-Agent: KMail/1.8.3 Cc: Nate Eldredge , Brian Candler Subject: Re: [patch] remove build dependencies in bsd.ports.mk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2005 10:47:12 -0000 --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--