From owner-freebsd-ports@FreeBSD.ORG Mon Nov 16 11:12:31 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 3E8D9106566B for ; Mon, 16 Nov 2009 11:12:31 +0000 (UTC) (envelope-from s.kachelmann@googlemail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id C306B8FC2B for ; Mon, 16 Nov 2009 11:12:30 +0000 (UTC) Received: by bwz5 with SMTP id 5so5822966bwz.3 for ; Mon, 16 Nov 2009 03:12:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=iWonFMgojOCOH5mksWXJN3NwW66aGu8TXsNCNN1NZ3k=; b=WSacJKAn8543WtgY6W2oybMpW2lI1BuDM21PBBVJdYdV3TQChyU+Z8mKaAtrwzzURY xbDGqVU+s3XqO7LGfXX+1CSg7lnIGoeEcbEFB8OU1GDjyWoKykRAIpJprJbtt9QnH7F4 +YWrfGEhiDrTz7K5YDozPLz9dmvIHBYEkriyg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=DljF6dsK0tRM44Qh/AmlDLoLVRLLopwUQJuf7oHLNA9TDCssbjntA+IeGIXBpw7loB XXvNuvRKu1YNCH4rVFJSPM/G3w+UE5QqO35ctlUQb4nhliz5vLgNzkkHV5f5gV7AM6nD 15XjlQjR1yyWtBbVvBo9NuGYCwqaBLu4HeFSQ= MIME-Version: 1.0 Received: by 10.239.139.165 with SMTP id t37mr760677hbt.75.1258369949326; Mon, 16 Nov 2009 03:12:29 -0800 (PST) In-Reply-To: <20091116000643.GA14996@owl.midgard.homeip.net> References: <91b92520911151444k742351bfl9ae20fb82a604bd5@mail.gmail.com> <20091116000643.GA14996@owl.midgard.homeip.net> Date: Mon, 16 Nov 2009 12:12:29 +0100 Message-ID: <91b92520911160312q62c777absb735c44334328f05@mail.gmail.com> From: Sandra Kachelmann To: Erik Trulsson Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 11:12:31 -0000 (portmaster author cc:ed) On Mon, Nov 16, 2009 at 1:06 AM, Erik Trulsson wro= te: > 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 whic= h > 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=3Dyes in /var/db/pkg/.. or something (there is probably a better way to do this). > (Personally I would be *very* annoyed if, for example, libtool or > automake/autoconf would be reinstalled every time I installed a port whic= h > had one of them as a build-time dependency. =A0There are *lots* of ports = which > have one of them in BUILD_DEPENDS, but few if any that has them as > RUN_DEPENDS.) Even nicer if execptions would be configurable. There are loads of ports that install BUILD_DEPENDS that are never used again. cvsup for instance pulls in a gigantic tree of esoteric ports I can't even pronounce. Sure I could install the package, take cvsup-without-gui or even use portsnap but this is not the point here. Sandra