aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdrtools
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2012-03-08 12:36:22 +0000
committerMarius Strobl <marius@FreeBSD.org>2012-03-08 12:36:22 +0000
commitf6ab33b4ac3513284b886eb6b9195cf4c0598bcb (patch)
tree8670bd42ce3b39fb307cb7fd8dbc59b589159c6c /sysutils/cdrtools
parent5569c719ff5481724ec5d0e3d2b48c6d9c2b8533 (diff)
downloadports-f6ab33b4ac3513284b886eb6b9195cf4c0598bcb.tar.gz
ports-f6ab33b4ac3513284b886eb6b9195cf4c0598bcb.zip
Notes
Diffstat (limited to 'sysutils/cdrtools')
-rw-r--r--sysutils/cdrtools/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile
index 13097f3a0bc4..b384ee272ce1 100644
--- a/sysutils/cdrtools/Makefile
+++ b/sysutils/cdrtools/Makefile
@@ -84,7 +84,12 @@ PKGNAMESUFFIX= -rscsi
PLIST_SUB+= RSCSI="@comment "
.endif
-MAKE_ENV= CCOM=cc GMAKE_NOWARN=true INS_BASE=${LOCALBASE} \
+# 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
+MAKE_ENV= PATH=${PATH}
+
+MAKE_ENV+= CCOM=cc GMAKE_NOWARN=true INS_BASE=${LOCALBASE} \
INS_RBASE=${LOCALBASE}
CDRTLSTARGET= ${ARCH:S/powerpc64/powerpc/}-freebsd-cc