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 http://spamassassin.org/tag/ for more details. Report problems to http://sf.net/tracker/?func=add&group_id=1&atid=200001



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

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

        hauke

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



-------------------------------------------------------------------------
This SF.net 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. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss




Home | Main Index | Thread Index | Old Index