From owner-freebsd-ports@FreeBSD.ORG Mon Apr 25 01:34:18 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0586016A4CE for ; Mon, 25 Apr 2005 01:34:18 +0000 (GMT) Received: from bigbird.logicsquad.net (ppp248-119.lns2.adl2.internode.on.net [203.122.248.119]) by mx1.FreeBSD.org (Postfix) with SMTP id B956343D3F for ; Mon, 25 Apr 2005 01:34:16 +0000 (GMT) (envelope-from paulh@bigbird.logicsquad.net) Received: (qmail 87415 invoked by uid 1001); 25 Apr 2005 01:34:15 -0000 Date: Mon, 25 Apr 2005 11:04:15 +0930 From: "Paul A. Hoadley" To: freebsd-ports@freebsd.org Message-ID: <20050425013415.GD33556@bigbird.logicsquad.net> References: <20050423062648.GE61472@bigbird.logicsquad.net> <20050423063143.GA96226@xor.obsecurity.org> <20050423071716.GG61472@bigbird.logicsquad.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5p8PegU4iirBW1oA" Content-Disposition: inline In-Reply-To: <20050423071716.GG61472@bigbird.logicsquad.net> User-Agent: Mutt/1.4.2.1i Subject: Re: Depending on other ports with OPTIONS X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 01:34:18 -0000 --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--