Error in src.conf(5)?

Olivier Nicole on at cs.ait.ac.th
Fri Feb 15 10:36:02 UTC 2008


> 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


More information about the freebsd-questions mailing list