From owner-freebsd-ports@FreeBSD.ORG Mon Nov 16 14:28:43 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 3F2131065672 for ; Mon, 16 Nov 2009 14:28:43 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id F28498FC12 for ; Mon, 16 Nov 2009 14:28:42 +0000 (UTC) Received: from mobileKamikaze.norad (vpn-cl-165-197.rz.uni-karlsruhe.de [141.3.165.197]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id A11CB8A0F0D; Mon, 16 Nov 2009 14:55:58 +0100 (CET) Message-ID: <4B0159EE.2080205@bsdforen.de> Date: Mon, 16 Nov 2009 14:55:58 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.23 (X11/20091024) MIME-Version: 1.0 To: Sandra Kachelmann References: <91b92520911151444k742351bfl9ae20fb82a604bd5@mail.gmail.com> <20091116000643.GA14996@owl.midgard.homeip.net> <91b92520911160312q62c777absb735c44334328f05@mail.gmail.com> In-Reply-To: <91b92520911160312q62c777absb735c44334328f05@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, dougb@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: Mon, 16 Nov 2009 14:28:43 -0000 Sandra Kachelmann wrote: > (portmaster author cc:ed) > > On Mon, Nov 16, 2009 at 1:06 AM, Erik Trulsson wrote: >> On Sun, Nov 15, 2009 at 11:44:04PM +0100, Sandra Kachelmann wrote: >>> Is there a reason why BUILD_DEPENDS aren't being removed after a port >>> has been installed and if no other installed port depends on it? >> How do you know that the user does not want that port installed? >> And what if the user will install 20 other ports afterwards - all of which >> is that same port as a BUILD_DEPENDS - should that port be >> installed/deinstalled each and every time? > > It would be nice if this was configurable. Maybe it could be even > integrated into portupgrade or portmaster. If such a port is installed > directly it could get a package entry DIRECT_INSTALLED=yes in > /var/db/pkg/.. or something (there is probably a better way to do > this). If you installed from packages, they'd never get installed at all. portmaster and portupgrade both have ports tree based package support, pkg_upgrade (sysutils/bsdadminscripts) has index based package support and there's, in my opinion, rarely a reason to build your own packages, though I'm guilty of doing that, too. At least on one of my machines. Regards -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?