Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2004 11:37:33 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Michael Nottebrock" <michaelnottebrock@gmx.net>
Cc:        perky@freebsd.org
Subject:   Re: A question about dependencies
Message-ID:  <opsac64vvs9aq2h7@mezz>
In-Reply-To: <200406291817.09503.michaelnottebrock@gmx.net>
References:  <40E0F356.8030603@earthlink.net> <20040629081435.GA4372@happy-idiot-talk.infracaninophile.co.uk> <200406291817.09503.michaelnottebrock@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Jun 2004 18:17:09 +0200, Michael Nottebrock  
<michaelnottebrock@gmx.net> wrote:

> On Tuesday 29 June 2004 10:14, Matthew Seaman wrote:
>> On Mon, Jun 28, 2004 at 10:43:02PM -0600, Bob Melson wrote:
>> > Briefly, I discovered on my system some 124 ports of 600+ that show
>> > python as a requirement.  Granted that many are probably cascading
>> > requirements:  A requires B which requires C which requires python,  
>> so A
>> > and B are shown  to depend on it; this still seems to me to be a  
>> problem.
>>
>> Actually, there are just two ports that directly depend on python, and
>> through which the majority of those other ports you mention inherit
>> their python dependence.  Those ports are:
>>
>>     textproc/libxml2
>>     textproc/libxslt
>>
>> both of which are important parts of the Gnome environment.
>>
>> If you don't want python installed on your system, then there's a
>> simple solution.  Set 'WITHOUT_PYTHON=yes' in /etc/make.conf and
>> reinstall all of the ports that depend from those two.
>
> In the special case of python, I would agree that there are unnecessary
> dependencies recorded - it seems libxml and libxslt do not have a runtime
> dependency on python, just a buildtime dependency to build python  
> bindings.
> However, USE_PYTHON can either record both run & buildtime dependencies  
> none
> - perhaps another knob is needed here. Comments?

It will install the *.py files if Python enable, so I disagree with this.  
But, I don't understand what you mean by 'perhaps another knob is needed  
here'. WITHOUT_PYTHON knob isn't good enough?

Cheers,
Mezz


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opsac64vvs9aq2h7>