Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2005 11:04:15 +0930
From:      "Paul A. Hoadley" <paulh@logicsquad.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: Depending on other ports with OPTIONS
Message-ID:  <20050425013415.GD33556@bigbird.logicsquad.net>
In-Reply-To: <20050423071716.GG61472@bigbird.logicsquad.net>
References:  <20050423062648.GE61472@bigbird.logicsquad.net> <20050423063143.GA96226@xor.obsecurity.org> <20050423071716.GG61472@bigbird.logicsquad.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--5p8PegU4iirBW1oA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Apr 23, 2005 at 04:47:16PM +0930, Paul A. Hoadley wrote:
> On Fri, Apr 22, 2005 at 11:31:43PM -0700, Kris Kennaway wrote:
>=20
> > The solution is to make a slave port that enables the option you
> > need, depend on that, and make it conflict with the other
> > non-enabled versions of the port.
>=20
> Just bear with me for a few more minutes...  So the approach would
> be to make refdb-mysql, refdb-pgsql and refdb-sqlite, each of which
> depend on the appropriate libdbi-driver, and refdb with common code?
> How do I make these slaves conflict with the non-enabled versions of
> libdbi-drivers---that is, how does
> "CONFLICTS=3Dlibdbi-drivers-0.7.1_2" differentiate between having
> chosen, say, libmysql or libpgsql when it was built?  Or have I
> misunderstood your advice?

I've hit a wall here---can anyone give me a push in the right
direction?  Even just pointing me at a port that depends on certain
OPTIONs having been chosen in another port would probably be
sufficient.  I am willing to work it out from the Makefiles.


--=20
Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/

--5p8PegU4iirBW1oA
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCbEkX730Z/jysbzIRAvkAAJwNijXWCG0ZJ611KWCiELBjDyKQWgCfQerb
ASNGDns0bzE/ZDt9/cSOh+Y=
=8ZCO
-----END PGP SIGNATURE-----

--5p8PegU4iirBW1oA--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050425013415.GD33556>