From owner-freebsd-ports@FreeBSD.ORG Tue Jun 29 16:37:36 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF7BF16A4CE; Tue, 29 Jun 2004 16:37:36 +0000 (GMT) Received: from lakermmtao01.cox.net (lakermmtao01.cox.net [68.230.240.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48F6543D1F; Tue, 29 Jun 2004 16:37:36 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz ([68.103.32.140]) by lakermmtao01.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040629163656.FZVH29186.lakermmtao01.cox.net@mezz>; Tue, 29 Jun 2004 12:36:56 -0400 Date: Tue, 29 Jun 2004 11:37:33 -0500 To: "Michael Nottebrock" References: <40E0F356.8030603@earthlink.net> <20040629081435.GA4372@happy-idiot-talk.infracaninophile.co.uk> <200406291817.09503.michaelnottebrock@gmx.net> From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <200406291817.09503.michaelnottebrock@gmx.net> User-Agent: Opera M2/7.51 (Linux, build 689) cc: gnome@freebsd.org cc: Bob Melson cc: freebsd-ports@freebsd.org cc: perky@freebsd.org Subject: Re: A question about dependencies X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2004 16:37:37 -0000 On Tue, 29 Jun 2004 18:17:09 +0200, Michael Nottebrock 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