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



At 16:14 Uhr +0200 03.04.2008, Tobias Nygren wrote:
>>  BATCH=../batch
>>
>>  [...]
>>
>>  bdecode.o:      bdecode.c $(BATCH)/coder.h
>>           $(CC) -c $(CFLAGS) -I$(BATCH) bdecode.c
>>
>>  -- no idea how your build slips in a "1" for $(BATCH)?
>
>BATCH is actually a variable set by the bulk build and used internally
>by pkgsrc.
>
># grep -r BATCH pkgsrc/mk
>
>I don't know why it's reexported to the build environment, but even
>the old bulk build system seems to do that.

Okay, so it's not my package...

But, shouldn't the build system have its own namespace for things it 
leaves in the build environment?

And, why does a build environment variable take precedence over the 
above "BATCH=../batch" assignment in the Makefile? Ah, the wonders of 
make(1)...

        hauke


-- 
      The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email            Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
      Respect for open standards              Ruf +49-6151-16-3281

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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