From owner-freebsd-ports@FreeBSD.ORG Sun May 2 12:15:35 2010 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A8D0106564A for ; Sun, 2 May 2010 12:15:35 +0000 (UTC) (envelope-from freebsduser@paradisegreen.co.uk) Received: from mail.paradisegreen.co.uk (almaz.paradisegreen.co.uk [81.187.228.2]) by mx1.freebsd.org (Postfix) with ESMTP id DF49C8FC12 for ; Sun, 2 May 2010 12:15:34 +0000 (UTC) Received: from [10.0.0.6] (vaio.paradise [10.0.0.6]) by mail.paradisegreen.co.uk (8.13.3/8.13.3) with ESMTP id o42Blj3S079780 for ; Sun, 2 May 2010 12:47:46 +0100 (BST) (envelope-from freebsduser@paradisegreen.co.uk) DomainKey-Signature: a=rsa-sha1; s=default; d=paradisegreen.co.uk; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:subject: references:in-reply-to:content-type:content-transfer-encoding; b=ID/DjDltQaKkcqGEU2OOpBEqv5Cn7XrInqjKxbA+EZNXQiR+jqkPFcM17Stexaxy2 RrMo+iECQhAJAshId0uRQ== Message-ID: <4BDD6686.9010507@paradisegreen.co.uk> Date: Sun, 02 May 2010 12:48:22 +0100 From: Thomas Sandford User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org References: <4BDD1728.8080903@FreeBSD.org> <1272795699.58527.26.camel@headache.rainbow-runner.nl> In-Reply-To: <1272795699.58527.26.camel@headache.rainbow-runner.nl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VERIFIED autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on almaz.paradisegreen.co.uk Cc: Subject: Re: Grandfather dependencies completely out of control 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: Sun, 02 May 2010 12:15:35 -0000 On 02/05/2010 11:21, Koop Mast wrote: > On Sat, 2010-05-01 at 23:09 -0700, Doug Barton wrote: >> I'm looking at the use of portmaster to upgrade perl versions, and >> noticed that there are a ton of ports listed as dependent on perl that >> don't have any use for it, including one of mine: >> >> qbittorrent-2.2.6>> libnotify-0.4.5_3>> atk-1.28.0>> >> gio-fam-backend-2.22.4>> gamin-0.1.10_3>> glib-2.22.4>> >> perl-threaded-5.8.9_3 >> >> Taking a look at devel/glib20, I see this: >> USE_PERL5= yes >> >> although from the docs in the glib tarball it's not at all clear (to me >> anyway) what it's used for. Given that it doesn't seem to be a rundep >> for glib20 it's also not at all clear to me why qbittorrent should have >> a pkgdep for it. >> >> Can someone please explain what the heck is going on here? (And please >> note, I'm picking on glib20 because this seems to be a particularly >> egregious example, but I'm really more interested in the problem generally.) > > One of the scripts provided by devel/glib20 is a perl script. That is the reason why > we need perl. A solution in this instance would appear to be to split devel/glib20 into two ports, glib20 and a slave port glib20-scripts The former would need no (run) dependency on perl (or python), solving the chain problem Doug raises. The latter would have run dependencies on both languages, but would only (as far as I can tell) ever need to be a build dependency of dependent ports, again breaking the chain of run dependencies on a scripting languange. There is IMHO a separate issue (not applicable in this case) that all too many porters have used USE_PERL5 when USE_PERL5_BUILD would be sufficient. -- Thomas Sandford