diff options
author | Marius Strobl <marius@FreeBSD.org> | 2010-09-22 19:51:27 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2010-09-22 19:51:27 +0000 |
commit | c08d958c6ee79cd4f09e1a4e76b017fbaf0f3605 (patch) | |
tree | e0447a4ab28de6f30cc1b3324b2b9eba08e772e1 /sysutils/cdrtools-devel | |
parent | b1ac16db186d5d4adabb1b8360b6115fc8b506c6 (diff) | |
download | ports-c08d958c6ee79cd4f09e1a4e76b017fbaf0f3605.tar.gz ports-c08d958c6ee79cd4f09e1a4e76b017fbaf0f3605.zip |
Refine the TARGET{,_ARCH} hack to not break CC being set to something
relying on PATH.
Approved by: netchild
Notes
Notes:
svn path=/head/; revision=261641
Diffstat (limited to 'sysutils/cdrtools-devel')
-rw-r--r-- | sysutils/cdrtools-devel/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/cdrtools-devel/Makefile b/sysutils/cdrtools-devel/Makefile index 2ee14061c57d..22169d09c61c 100644 --- a/sysutils/cdrtools-devel/Makefile +++ b/sysutils/cdrtools-devel/Makefile @@ -90,9 +90,10 @@ PKGNAMESUFFIX?= -devel # Hack to allow building with TARGET and TARGET_ARCH set in the environment # as done by the release building scripts. -SETENV= /usr/bin/env -i -P ${PATH} +SETENV= /usr/bin/env -i +MAKE_ENV= PATH=${PATH} -MAKE_ENV= CCOM=cc GMAKE_NOWARN=true INS_BASE=${LOCALBASE} \ +MAKE_ENV+= CCOM=cc GMAKE_NOWARN=true INS_BASE=${LOCALBASE} \ INS_RBASE=${LOCALBASE} CDRTLSTARGET= ${ARCH}-freebsd-cc |