From owner-freebsd-ports@FreeBSD.ORG Sat Mar 27 18:08:22 2004 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 8AC5216A4CE; Sat, 27 Mar 2004 18:08:22 -0800 (PST) Received: from mtaw4.prodigy.net (mtaw4.prodigy.net [64.164.98.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A1B243D2F; Sat, 27 Mar 2004 18:08:22 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (d00534e385fbe5d0046a177530db93f8@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mtaw4.prodigy.net (8.12.10/8.12.10) with ESMTP id i2S28LfG017738; Sat, 27 Mar 2004 18:08:21 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 0EC8C52ABF; Sat, 27 Mar 2004 18:08:21 -0800 (PST) Date: Sat, 27 Mar 2004 18:08:20 -0800 From: Kris Kennaway To: Michael Nottebrock Message-ID: <20040328020820.GA33464@xor.obsecurity.org> References: <20040327200136.31711.qmail@laurel.tmseck.homedns.org> <1080436501.75008.5.camel@hood.oook.cz> <200403280340.01956.michaelnottebrock@gmx.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <200403280340.01956.michaelnottebrock@gmx.net> User-Agent: Mutt/1.4.2.1i cc: pav@freebsd.org cc: SADA Kenji cc: Thomas-Martin Seck cc: freebsd-ports@freebsd.org Subject: Re: treating 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: Sun, 28 Mar 2004 02:08:22 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 28, 2004 at 02:39:58AM +0100, Michael Nottebrock wrote: > Something I only realised yesterday (hi kris) is that OPTIONS do not just= set=20 > WITH_FOO but also WITHOUT_FOO, so for autodetecting things you'd have to= =20 > check .if exists(bar) and !defined WITHOUT_FOO then define WITH_FOO... This is true whether or not you use OPTIONS; you should be able to prevent a port from detecting and using something you have installed, which means doing what Michael says above. Kris --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAZjOUWry0BWjoQKURAoIzAJ94d7UH9LBy+p3NbgxphiUjPWzpqwCg6p1z nf6G1yuXNTjcY/zBp/QMCZ4= =QVtp -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--