Date: Fri, 5 Aug 2005 09:52:58 +0200 From: Stijn Hoop <stijn@win.tue.nl> To: Vasil Dimov <vd@datamax.bg> Cc: Adam Weinberger <adamw@magnesium.net>, freebsd-ports@freebsd.org Subject: Re: The right way to depend on a package's extra feature Message-ID: <20050805075258.GD70957@pcwin002.win.tue.nl> In-Reply-To: <20050805074452.GC60681@sinanica.bg.datamax> References: <20050805070513.GA60681@sinanica.bg.datamax> <42F310D2.7020200@magnesium.net> <20050805072412.GB70957@pcwin002.win.tue.nl> <20050805074452.GC60681@sinanica.bg.datamax>
next in thread | previous in thread | raw e-mail | index | archive | help
--qM81t570OJUP5TU/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 05, 2005 at 10:44:52AM +0300, Vasil Dimov wrote: > On Fri, Aug 05, 2005 at 09:24:12AM +0200, Stijn Hoop wrote: > > 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 > Hmmz, devel/svk should find ${SITE_PERL}/${PERL_ARCH}/SVN/Core.pm > (installed by devel/subversion with perl bindings) and not insist on > depending on devel/subversion-perl... Yes, disregard this argument. Braino on my part... > > I don't see a way out except extending the DEPENDS mechanism with > > optional flags, or at least checking of /var/db/ports/*/options > > (for OPTIONS enabled ports). > >=20 >=20 > extending the DEPENDS mechanism is what I thought also... >=20 > looking for /var/db/ports/*/options is not universal, because a lot of > ports have WITH_SOMETHING without defining OPTIONS. Although these should be fixed to use OPTIONS imho. Also, theoretically a package could include /var/db/ports/<PACKAGE>/options so that even packages built with options could be recognized by the system. Anyway, I don't have the time to implement either of these options, so I don't have much to say in this matter. --Stijn --=20 MY HATE OF D02 KNOW NO LIMIT -- A Silent Wail, http://forum.rpg.net/showthread.php?s=3D&threadid=3D31914 --qM81t570OJUP5TU/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC8xraY3r/tLQmfWcRAlruAJ9LttQ1jla/AS6T9FHIt1TmIoo4uQCdGlls iy5mk0q3zKtQwc+t2z43LYY= =EI0i -----END PGP SIGNATURE----- --qM81t570OJUP5TU/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050805075258.GD70957>