Date: Fri, 05 Aug 2005 03:35:01 -0400 From: Adam Weinberger <adamw@magnesium.net> To: Stijn Hoop <stijn@win.tue.nl> Cc: vd@datamax.bg, freebsd-ports@freebsd.org Subject: Re: The right way to depend on a package's extra feature Message-ID: <42F316A5.9020108@magnesium.net> In-Reply-To: <20050805072412.GB70957@pcwin002.win.tue.nl> References: <20050805070513.GA60681@sinanica.bg.datamax> <42F310D2.7020200@magnesium.net> <20050805072412.GB70957@pcwin002.win.tue.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42F316A5.9020108>