From owner-freebsd-ports@FreeBSD.ORG Wed Jun 28 01:19: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 ABAB816A408 for ; Wed, 28 Jun 2006 01:19:14 +0000 (UTC) (envelope-from tarc@tarc.po.cs.msu.su) Received: from tarc.po.cs.msu.su (tarc.po.cs.msu.su [158.250.16.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 886BD43D78 for ; Wed, 28 Jun 2006 01:18:46 +0000 (GMT) (envelope-from tarc@tarc.po.cs.msu.su) Received: from tarc.po.cs.msu.su (localhost [127.0.0.1]) by tarc.po.cs.msu.su (8.13.4/8.13.4) with ESMTP id k5S1J6us019034; Wed, 28 Jun 2006 05:19:06 +0400 (MSD) (envelope-from tarc@tarc.po.cs.msu.su) Received: (from tarc@localhost) by tarc.po.cs.msu.su (8.13.4/8.13.4/Submit) id k5S1J6rI019033; Wed, 28 Jun 2006 05:19:06 +0400 (MSD) (envelope-from tarc) Date: Wed, 28 Jun 2006 05:19:06 +0400 From: Arseny Nasokin To: NIIMI Satoshi Message-ID: <20060628011905.GX32801@tarc.po.cs.msu.su> References: <20060627143756.GS32801@tarc.po.cs.msu.su> <44A1D34F.5040203@sa2c.net> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <44A1D34F.5040203@sa2c.net> User-Agent: mutt-ng/devel-r581 (FreeBSD) Cc: freebsd-ports Subject: Re: HEADSUP: WITH and WITHOUT options knobs checking 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: Wed, 28 Jun 2006 01:19:14 -0000 On Wed, Jun 28, 2006 at 09:54:39AM +0900, NIIMI Satoshi wrote: > On 2006/06/27 23:37, Arseny Nasokin wrote: > >Please, check WITH_ knobs, as it: > >.if defined (WITH_ABC) && ! defined(WITHOUT_ABC) > > I think it's wrong. > > Try to run "make BATCH=yes WITH_ABC=yes -V WITHOUT_ABC" without OPTIONSFILE. You will see > WITHOUT_ABC is still defined. > > That's why most ports check only non-default values. > What do with ports, which check WITH_FOO and some later - WITHOUT_FOO ? -- Best regards, Arseny Nasokin