tech-pkg archive

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

Introducing a BUILD_ENV?



For updating the emulators/simh package, it would be useful to have a
BUILD_ENV variable. It would be like CONFIGURE_ENV and TEST_ENV:
added to MAKE_ENV when running do-build (${BUILD_MAKE_CMD}).

The use case for this is that I wanted to separate out the tests, which
normally run as part of the build. They can be disabled by setting
TESTS=0, which would nicely fit in BUILD_ENV.

Setting TESTS=0 in MAKE_ENV would cause it to be included in do-test as
well, which would not help.

I worked around it by defining BUILD_TARGET= TESTS=0 all, but that's
ugly and pkglint doesn't like it either.

Or is there some other way to approach this?

-Olaf.
-- 
___ "Buying carbon credits is a bit like a serial killer paying someone else to
\X/  have kids to make his activity cost neutral." -The BOFH    falu.nl@rhialto

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index