aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cdrtools
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2010-09-23 03:51:27 +0800
committermarius <marius@FreeBSD.org>2010-09-23 03:51:27 +0800
commitd4cf86b75c4264d3a87f2ee5d0a58d2f14cf7ea3 (patch)
treef2c43d1ed45fd409c96ebf781ed9e42bd25a4881 /sysutils/cdrtools
parentcd4f5966bd80a134552cea70aa8618583e56c74a (diff)
downloadfreebsd-ports-gnome-d4cf86b75c4264d3a87f2ee5d0a58d2f14cf7ea3.tar.gz
freebsd-ports-gnome-d4cf86b75c4264d3a87f2ee5d0a58d2f14cf7ea3.tar.zst
freebsd-ports-gnome-d4cf86b75c4264d3a87f2ee5d0a58d2f14cf7ea3.zip
Refine the TARGET{,_ARCH} hack to not break CC being set to something
relying on PATH. Approved by: netchild
Diffstat (limited to 'sysutils/cdrtools')
-rw-r--r--sysutils/cdrtools/Makefile5
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