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/Makefile | |
parent | b1ac16db186d5d4adabb1b8360b6115fc8b506c6 (diff) |
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/Makefile')
-rw-r--r-- | sysutils/cdrtools/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile index 01927e300139..8f93c4cc422b 100644 --- a/sysutils/cdrtools/Makefile +++ b/sysutils/cdrtools/Makefile @@ -86,9 +86,10 @@ PLIST_SUB+= RSCSI="@comment " # 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 |