From owner-freebsd-ports@FreeBSD.ORG Tue Mar 21 14:37:14 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 3C7CE16A401 for ; Tue, 21 Mar 2006 14:37:14 +0000 (UTC) (envelope-from benlutz@datacomm.ch) Received: from maxlor.mine.nu (c-213-160-32-54.customer.ggaweb.ch [213.160.32.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF24E43D45 for ; Tue, 21 Mar 2006 14:37:13 +0000 (GMT) (envelope-from benlutz@datacomm.ch) Received: from localhost (unknown [127.0.0.1]) by maxlor.mine.nu (Postfix) with ESMTP id 02E702E04C for ; Tue, 21 Mar 2006 15:37:12 +0100 (CET) Received: from maxlor.mine.nu ([127.0.0.1]) by localhost (atlantis.intranet [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 58756-05 for ; Tue, 21 Mar 2006 15:37:11 +0100 (CET) Received: from mini.intranet (mini.intranet [10.0.0.17]) by maxlor.mine.nu (Postfix) with ESMTP id C3E2A2E02E for ; Tue, 21 Mar 2006 15:37:11 +0100 (CET) From: Benjamin Lutz To: freebsd-ports@freebsd.org Date: Tue, 21 Mar 2006 15:37:05 +0100 User-Agent: KMail/1.8.3 X-Face: $Ov27?7*N,h60fIEfNJdb!m,@#4T/d; 1hw|W0zvsHM(a$Yn6BYQ0^SEEXvi8>D`|V*F"_+R 2@Aq>+mNb4`,'[[%z9v0Fa~]AD1}xQO3|>b.z&}l#R-_(P`?@Mz"kS; XC>Eti,i3>%@g?4f,\c7|Gh wb&ky$b2PJ^\0b83NkLsFKv|smL/cI4UD%Tu8alAD MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1622897.doleqkYN3Z"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200603211537.09551.benlutz@datacomm.ch> X-Virus-Scanned: amavisd-new at atlantis.intranet Subject: OPTIONS and WITH/WITHOUT variables X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 14:37:14 -0000 --nextPart1622897.doleqkYN3Z Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, Section 5.11.2.2, Syntax of the Porter's Handbook says: | OPTIONS definition must appear before the inclusion of bsd.port.pre.mk. T= he | WITH_* and WITHOUT_* variables can only be tested after the inclusion of | bsd.port.pre.mk. Due to a deficiency in the infrastructure, you can only | test WITH_* variables for options, which are OFF by default, and WITHOUT_* | variables for options, which defaults to ON. =20 However I noticed that for variables that default to on, a WITH_* variable = is=20 defined. In fact the corresponding comment in bsd.port.mk does not mention= =20 WITHOUT_* at all. And looking at the actual OPTIONS parsing code in=20 bsd.port.mk, starting at line 1135 of the current revision, I notice that i= t=20 seems to be exactly the other way round than described in the Porter's=20 Handbook (although I'm not sure I'm reading that correctly). Can someone clarify this for me? Cheers Benjamin --nextPart1622897.doleqkYN3Z Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQBEIA+VgShs4qbRdeQRAt29AJ9BySWNEZE7Z8IO9z23+c2ApWQziQCeJV9q +J2w8+IIE7IXA1yXc6U7cnA= =JU2K -----END PGP SIGNATURE----- --nextPart1622897.doleqkYN3Z--