aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cdrtools-devel
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-devel
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-devel')
-rw-r--r--sysutils/cdrtools-devel/Makefile5
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