pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc-wip NetBSD 4.99.55/i386 2008-03-19 16:28 See for more details. Report problems to

At 19:42 Uhr +0200 6.4.2008, Joerg Sonnenberger wrote:
>On Sat, Apr 05, 2008 at 09:57:19PM +0200, Hauke Fath wrote:
>> At 12:20 Uhr +0200 3.4.2008, Joerg Sonnenberger wrote:
>> >> -- no idea how your build slips in a "1" for $(BATCH)?
>> >
>> >It is an environmental variable for bulk builds.
>> Okay, I'll bite:
>> Why? Shouldn't it use its own name space? Is there a list of env vars that
>> pbulk sets? Should I care as a package maintainer? How many builds of
>> packages get broken that way? Should I send-pr?
>I am not exactly sure why it gets passed down by make, it is a command
>line argument for it.

Exactly; I thought that was the job of

FOO ?= bar

and was quite surprised to find make(1) lets you override unconditional
variable assignments on the command line.

make(1) is netbsd-4, gmake is v3.81:

[hauke@pizza] /<1>tmp/maketest > cat Makefile
# Testing variable assignment

foo = bar

        @echo $(foo)
[hauke@pizza] /<1>tmp/maketest > make
[hauke@pizza] /<1>tmp/maketest > make foo=deadbeef
[hauke@pizza] /<1>tmp/maketest > gmake
[hauke@pizza] /<1>tmp/maketest > gmake foo=deadbeef
[hauke@pizza] /<1>tmp/maketest >


"It's never straight up and down"     (DEVO)

This email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2.;198757673;13503038;p?
pkgsrc-wip-discuss mailing list

Home | Main Index | Thread Index | Old Index