From owner-freebsd-ports@FreeBSD.ORG Tue Nov 17 07:15:32 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 962E31065672 for ; Tue, 17 Nov 2009 07:15:32 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 3A5778FC17 for ; Tue, 17 Nov 2009 07:15:31 +0000 (UTC) Received: (qmail 19699 invoked by uid 399); 17 Nov 2009 07:15:30 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 17 Nov 2009 07:15:30 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4B024D91.4030605@FreeBSD.org> Date: Mon, 16 Nov 2009 23:15:29 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: Sandra Kachelmann References: <91b92520911151444k742351bfl9ae20fb82a604bd5@mail.gmail.com> <20091116000643.GA14996@owl.midgard.homeip.net> <91b92520911160312q62c777absb735c44334328f05@mail.gmail.com> <4B01E71F.5050909@FreeBSD.org> <91b92520911161722n37e74043pd841de5948cc8e80@mail.gmail.com> In-Reply-To: <91b92520911161722n37e74043pd841de5948cc8e80@mail.gmail.com> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: remove BUILD_DEPENDS automatically after install X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 07:15:32 -0000 Sandra Kachelmann wrote: > On Tue, Nov 17, 2009 at 12:58 AM, Doug Barton wrote: >> I have a new feature in the svn version of portmaster called >> --packages-build that for any given run creates an internal list of >> dependencies that are only ever listed as build deps (never run deps) >> and installs packages for them but builds everything else. This >> feature was created at the request of one of companies that sponsored >> the package installation code. Currently it does not pkg_delete those >> packages when it's done, but I could easily add that. > > This is exactly what I was looking for. Good! :) >> Actually I suppose it would not be too hard to extend that "list of >> build only deps" idea to a general feature which deletes them when >> done. Something like --delete-build-only maybe? This would be limited > > I would find such an option extremely useful. > >> to the subset of the list of build-only deps that portmaster actually >> installed. Just because something is build-only for a given run of >> portmaster doesn't mean that it isn't a run dep for something else if >> it is already installed. > > Or if it's already installed before the actual port build it could be > considered as "wanted" and therefor not to be deleted after the build. That's what I was getting at, sorry if I wasn't clear. > Just out of curiosity, is your svn repository publicly accessible? You can get access to the svn version and more information about the sponsorship program at http://dougbarton.us/portmaster-proposal.html. I just committed the --delete-build-only feature so enjoy that. :) Actually at this point I encourage everyone who is interested in package support in portmaster to download the svn version and put it through its paces. I am very close to considering this round of features "finished" and committing them to the port so the more people that can help with the testing the better. > Thank you so much for the good work. You're welcome, and thank you for the kind words. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/