Date: Sat, 23 Apr 2005 16:47:16 +0930 From: "Paul A. Hoadley" <paulh@logicsquad.net> To: Kris Kennaway <kris@obsecurity.org> Cc: freebsd-ports@freebsd.org Subject: Re: Depending on other ports with OPTIONS Message-ID: <20050423071716.GG61472@bigbird.logicsquad.net> In-Reply-To: <20050423063143.GA96226@xor.obsecurity.org> References: <20050423062648.GE61472@bigbird.logicsquad.net> <20050423063143.GA96226@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--3Pql8miugIZX0722 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 22, 2005 at 11:31:43PM -0700, Kris Kennaway wrote: > It is a FAQ, Sorry. > 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. 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? (BTW, I'm happy to go off and read about this somewhere, but other than this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-m= asterdir.html I'm finding a lot of past mailing list traffic in which people discussing 'slave ports' already know what they're doing. Can someone suggest a port which depends on specific build options of another port in this way which I could examine?) --=20 Paul. w http://logicsquad.net/ h http://paul.hoadley.name/ --3Pql8miugIZX0722 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCafZ8730Z/jysbzIRAnomAKCBwhhSfjDAFdL6aCUA3WywtHAhSQCfbxHB oZy2qifsPtxwkRcurb187NM= =hak/ -----END PGP SIGNATURE----- --3Pql8miugIZX0722--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050423071716.GG61472>