From owner-freebsd-ports@FreeBSD.ORG Fri Aug 5 07:35:03 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 1F02616A41F for ; Fri, 5 Aug 2005 07:35:03 +0000 (GMT) (envelope-from adamw@magnesium.net) Received: from smtp102.rog.mail.re2.yahoo.com (smtp102.rog.mail.re2.yahoo.com [206.190.36.80]) by mx1.FreeBSD.org (Postfix) with SMTP id 8324F43D45 for ; Fri, 5 Aug 2005 07:35:02 +0000 (GMT) (envelope-from adamw@magnesium.net) Received: (qmail 26476 invoked from network); 5 Aug 2005 07:35:01 -0000 Received: from unknown (HELO ?192.168.1.142?) (tacopants@70.28.168.125 with plain) by smtp102.rog.mail.re2.yahoo.com with SMTP; 5 Aug 2005 07:35:01 -0000 Message-ID: <42F316A5.9020108@magnesium.net> Date: Fri, 05 Aug 2005 03:35:01 -0400 From: Adam Weinberger User-Agent: Mozilla Thunderbird 1.0+ (Macintosh/20050712) MIME-Version: 1.0 To: Stijn Hoop References: <20050805070513.GA60681@sinanica.bg.datamax> <42F310D2.7020200@magnesium.net> <20050805072412.GB70957@pcwin002.win.tue.nl> In-Reply-To: <20050805072412.GB70957@pcwin002.win.tue.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:35:03 -0000 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 >> built with python support, but python support is disabled by default. >> You can see what I've done as a kludge in deskutils/gourmet/Makefile, >> 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... But if devel/subversion-perl only contains the perl-enabled stuff that devel/subversion doesn't, then devel/svk can just depend on devel/subversion-perl, which can in turn depend on devel/subversion. # Adam -- Adam Weinberger adamw@magnesium.net || adamw@FreeBSD.org adamw@vectors.cx || adamw@gnome.org http://www.vectors.cx