From owner-freebsd-ports@FreeBSD.ORG Fri Aug 5 07:37:35 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 6FE9516A420 for ; Fri, 5 Aug 2005 07:37:35 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from kweetal.tue.nl (kweetal.tue.nl [131.155.3.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A26143D4C for ; Fri, 5 Aug 2005 07:37:34 +0000 (GMT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from localhost (localhost [127.0.0.1]) by kweetal.tue.nl (Postfix) with ESMTP id 3D99D13B710; Fri, 5 Aug 2005 09:37:30 +0200 (CEST) Received: from kweetal.tue.nl ([127.0.0.1]) by localhost (kweetal.tue.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21801-07; Fri, 5 Aug 2005 09:37:29 +0200 (CEST) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by kweetal.tue.nl (Postfix) with ESMTP id 8B15213B707; Fri, 5 Aug 2005 09:37:29 +0200 (CEST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.13.4/8.13.4/Submit) id j757bTDk066983; Fri, 5 Aug 2005 09:37:29 +0200 (CEST) (envelope-from stijn) Date: Fri, 5 Aug 2005 09:37:29 +0200 From: Stijn Hoop To: Adam Weinberger Message-ID: <20050805073729.GC70957@pcwin002.win.tue.nl> References: <20050805070513.GA60681@sinanica.bg.datamax> <42F310D2.7020200@magnesium.net> <20050805072412.GB70957@pcwin002.win.tue.nl> <42F316A5.9020108@magnesium.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oOB74oR0WcNeq9Zb" Content-Disposition: inline In-Reply-To: <42F316A5.9020108@magnesium.net> User-Agent: Mutt/1.4.2.1i X-Bright-Idea: Let's abolish HTML mail! X-Virus-Scanned: amavisd-new at tue.nl Cc: vd@datamax.bg, freebsd-ports@freebsd.org Subject: Re: The right way to depend on a package's extra feature 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: Fri, 05 Aug 2005 07:37:35 -0000 --oOB74oR0WcNeq9Zb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 05, 2005 at 03:35:01AM -0400, Adam Weinberger wrote: > Stijn Hoop wrote: > >On Fri, Aug 05, 2005 at 03:10:10AM -0400, Adam Weinberger wrote: > >>I have that same problem with deskutils/gourmet. It needs a metakit=20 > >>built with python support, but python support is disabled by default.= =20 > >>You can see what I've done as a kludge in deskutils/gourmet/Makefile,= =20 > >>but the best solution would be to separate metakit into a master/slave > >>port thing so you can just depend on metakit-python and be done with it. > > > >This is not the _best_ thing to do though, as other ports may depend > >on the master port, in turn requiring both the master and the slave > >port to be installed. This in turn leads to a knob to select the > >'right' port for a piece of software, which is not always present. > > > >I.e. I have both devel/svk and devel/subversion installed. Now, I need > >devel/subversion because other software depends on it, so I build it > >with perl bindings by myself. However, devel/svk insists on depending > >on devel/subversion-perl because it wants the perl bindings -> not > >good... >=20 > But if devel/subversion-perl only contains the perl-enabled stuff that=20 > devel/subversion doesn't, then devel/svk can just depend on=20 > devel/subversion-perl, which can in turn depend on devel/subversion. Yeah, and right after I wrote this e-mail I realized that there's something fishy about this, because dependencies are not checked using port names but using files in the FS; so devel/svk should realize devel/subversion was built with perl bindings even if I did that by myself. I need more coffee I guess, this is not an issue if the ports work properly. Sorry for the noise! --Stijn --=20 Beware of he who would deny you access to information. For in his heart he thinks himself your master. -- Sid Meier, "Sid Meier's Alpha Centauri" --oOB74oR0WcNeq9Zb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC8xc5Y3r/tLQmfWcRAhh5AJ9L1RZAs6MmKYA5PSUfl5jcKPZhAACePuaR CH34Z+hqaqFV/+ARH5k/A0U= =T024 -----END PGP SIGNATURE----- --oOB74oR0WcNeq9Zb--