Date: Mon, 21 Feb 2005 17:16:38 +0100 From: Marwan Burelle <Marwan.Burelle@lri.fr> To: Simon Barner <barner@gmx.de> Cc: Kirill Ponomarew <krion@voodoo.oberon.net> Subject: Re: devel/pcre and WITH_UTF8 Message-ID: <20050221161638.GA49381@pc5-179.lri.fr> In-Reply-To: <20050221155832.GJ51280@zi025.glhnet.mhn.de> References: <20050221142951.GA48781@pc5-179.lri.fr> <20050221153217.GI51280@zi025.glhnet.mhn.de> <20050221153615.GE9175@voodoo.oberon.net> <20050221155832.GJ51280@zi025.glhnet.mhn.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--M9NhX3UHpAaciwkO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 21, 2005 at 04:58:32PM +0100, Simon Barner wrote: > We probably need a mechanism to require compile time options via the > dependency mechanism. >=20 > The following idea just popped into my mind (probably most applicable to > OPTIONs): > - encode the set of chosen options into the package name > - enhance the dependency tracking algorithm to accept the installed > version of a port if and only if the set of installed options is a > super-set of the set of requested options. >=20 > Admittedly, this might result in lengthy package names (but that's the > same if popular combination of options are encoded as slave ports). >=20 Hum, this can break the DEPEND mechanism, actualy it used the existance of the desired lib/binary and refer to port/package only if it's not here, so you can satisfy a depency wihtout using ports =2E.. (I'm not sure if it wanted, but it could be usefull ;) For the port I'm talking about, I can think of a way to test if pcre has UTF8 support, but not on how to force reinstall. By the way, would it be simpler to record the build option in /var/db/pkg ? In fact, ports using "make config" already record option in /var/db/ports, generalizing this for non-interactive ports could be a good starting point. --=20 Burelle Marwan, Equipe Bases de Donnees - LRI http://www.cduce.org (burelle@lri.fr | Marwan.Burelle@ens.fr) --M9NhX3UHpAaciwkO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCGglmI+2UvUKfgvgRAr6pAJ0UzKKKvkaUTIfY7/mhAp8H91rcJQCffiuE 6tdHoyPZ78U+ghPy96Bv+ec= =DBXR -----END PGP SIGNATURE----- --M9NhX3UHpAaciwkO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050221161638.GA49381>