From owner-freebsd-ports@FreeBSD.ORG Sat Apr 23 07:17:19 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 3F27E16A4CE for ; Sat, 23 Apr 2005 07:17:19 +0000 (GMT) Received: from bigbird.logicsquad.net (ppp246-186.lns2.adl2.internode.on.net [203.122.246.186]) by mx1.FreeBSD.org (Postfix) with SMTP id F127143D45 for ; Sat, 23 Apr 2005 07:17:17 +0000 (GMT) (envelope-from paulh@bigbird.logicsquad.net) Received: (qmail 71135 invoked by uid 1001); 23 Apr 2005 07:17:16 -0000 Date: Sat, 23 Apr 2005 16:47:16 +0930 From: "Paul A. Hoadley" To: Kris Kennaway Message-ID: <20050423071716.GG61472@bigbird.logicsquad.net> References: <20050423062648.GE61472@bigbird.logicsquad.net> <20050423063143.GA96226@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3Pql8miugIZX0722" Content-Disposition: inline In-Reply-To: <20050423063143.GA96226@xor.obsecurity.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-ports@freebsd.org 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: Sat, 23 Apr 2005 07:17:19 -0000 --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--