From owner-freebsd-ports@FreeBSD.ORG Tue Jun 29 16:52:57 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 63F6E16A4CE for ; Tue, 29 Jun 2004 16:52:57 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id A45CE43D53 for ; Tue, 29 Jun 2004 16:52:56 +0000 (GMT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail 11062 invoked by uid 65534); 29 Jun 2004 16:52:55 -0000 Received: from pD9FFDCD6.dip.t-dialin.net (EHLO kiste.my.domain) (217.255.220.214) by mail.gmx.net (mp017) with SMTP; 29 Jun 2004 18:52:55 +0200 X-Authenticated: #443188 From: Michael Nottebrock To: "Jeremy Messenger" Date: Tue, 29 Jun 2004 18:52:54 +0200 User-Agent: KMail/1.6.2 References: <40E0F356.8030603@earthlink.net> <200406291817.09503.michaelnottebrock@gmx.net> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_m5Z4Addj6dCoM27"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406291852.54678.michaelnottebrock@gmx.net> 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:52:57 -0000 --Boundary-02=_m5Z4Addj6dCoM27 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 29 June 2004 18:37, Jeremy Messenger wrote: > 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=3Dyes' 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 runti= me > > 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. Yes, but this is a buildtime dependency. Python is not needed by libxml2 or= =20 libxslt at runtime, so there should be no RUN_DEPENDS on it. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --Boundary-02=_m5Z4Addj6dCoM27 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBA4Z5mXhc68WspdLARApLlAJ9nl8QNmrw709zCvPY5Ajxf6HpFNwCeOAif ws9TE1mqIQMDIPHTphRVjOs= =LcGm -----END PGP SIGNATURE----- --Boundary-02=_m5Z4Addj6dCoM27--