nrelease: prevent leaking of env vars into pkgsrc build
authorSimon Schubert <corecode@dragonflybsd.org>
Wed, 4 Feb 2009 22:17:54 +0000 (23:17 +0100)
committerSimon Schubert <corecode@dragonflybsd.org>
Wed, 4 Feb 2009 22:41:28 +0000 (23:41 +0100)
commitcc55a235f4fff42e1a1e0e06581e495355511783
treeb446227c77cb0b61548cc8d4009ab159132cf2d6
parent74ec6a9d9ebd490316dd0c65ff08cbeb1f3306ea
nrelease: prevent leaking of env vars into pkgsrc build

At least TARGET_ARCH, which is used by the release build, is causing
havoc for packages built by gmake, as gmake appends ${TARGET_ARCH} to
the ${COMPILE.c} compiler command line.
To be on the safe side, clear the environment completely when calling
into the pkgsrc build.
nrelease/Makefile