From owner-freebsd-questions@FreeBSD.ORG Fri Feb 15 10:36:02 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A23FB16A46B for ; Fri, 15 Feb 2008 10:36:02 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id EB25A13C4EB for ; Fri, 15 Feb 2008 10:36:00 +0000 (UTC) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.12.11) with ESMTP id m1FAZlAN019754 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 15 Feb 2008 17:35:47 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.6/8.12.11) id m1FAZlBf079843; Fri, 15 Feb 2008 17:35:47 +0700 (ICT) Date: Fri, 15 Feb 2008 17:35:47 +0700 (ICT) Message-Id: <200802151035.m1FAZlBf079843@banyan.cs.ait.ac.th> From: Olivier Nicole To: solskogen@carebears.mine.nu In-reply-to: <47B56358.7040402@carebears.mine.nu> (message from Christer Solskogen on Fri, 15 Feb 2008 11:03:04 +0100) References: <47B56358.7040402@carebears.mine.nu> X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Cc: freebsd-questions@freebsd.org Subject: Re: Error in src.conf(5)? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2008 10:36:02 -0000 > src.conf(5) says: > "The values of variables are ignored regardless of their setting; even > if they would be set to ``FALSE'' or ``NO''. Just the existence of an > option will cause it to be honoured by make(1)." > > So in my /etc/jail-src.conf I have a couple of options like this: > > WITHOUT_ACPI > WITHOUT_ASSERT_DEBUG > WITHOUT_ATM > WITHOUT_AUDIT > WITHOUT_AUTHPF > WITHOUT_BLUETOOTH > > Running "make installworld SRCCONF=/etc/jail-src.conf" gives me the > following errors: > > "/etc/jail-src.conf", line 1: Need an operator > "/etc/jail-src.conf", line 2: Need an operator > "/etc/jail-src.conf", line 3: Need an operator > "/etc/jail-src.conf", line 4: Need an operator > "/etc/jail-src.conf", line 5: Need an operator > "/etc/jail-src.conf", line 6: Need an operator > > Do I really need something like "WITHOUT_ACPI=TRUE" ? What I understand is that: 1) the decision making is on the name of the variable: WITH_XXX or WITHOUT_XXX but 2) the syntax of make needs a value after the variable, so you must write WITH_XXX="YES" WITH_XXX="123" WITH_XXX="NO" it will all result into including the option XXX Bests, Olivier