aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2010-09-17 17:09:34 +0000
committerMarius Strobl <marius@FreeBSD.org>2010-09-17 17:09:34 +0000
commit1a4a339547cc93409bd2e9db97a9a76fc51d037a (patch)
tree04f99acef5295abb7a6aeefe78e5faf5c6d85cbb /sysutils
parent79c4fdadd91f5c811282e9a44e6dedb468f1cc3d (diff)
downloadports-1a4a339547cc93409bd2e9db97a9a76fc51d037a.tar.gz
ports-1a4a339547cc93409bd2e9db97a9a76fc51d037a.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cdrtools-devel/Makefile5
-rw-r--r--sysutils/cdrtools/Makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/cdrtools-devel/Makefile b/sysutils/cdrtools-devel/Makefile
index fce5406f8838..61ff3915f8fd 100644
--- a/sysutils/cdrtools-devel/Makefile
+++ b/sysutils/cdrtools-devel/Makefile
@@ -74,6 +74,11 @@ PLIST_SUB= RSCSI="@comment "
.endif
PKGNAMESUFFIX?= -devel
+# Hack to allow building with TARGET and TARGET_ARCH set in the environment
+# as done by the release building scripts.
+MAKE_ARGS= -R
+SETENV= /usr/bin/env -i -P ${PATH}
+
MAKE_ENV= CCOM=cc GMAKE_NOWARN=true INS_BASE=${LOCALBASE} \
INS_RBASE=${LOCALBASE}
CDRTLSTARGET= ${ARCH}-freebsd-cc
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile
index 49f605446979..1d8bc9690f72 100644
--- a/sysutils/cdrtools/Makefile
+++ b/sysutils/cdrtools/Makefile
@@ -69,6 +69,11 @@ PKGNAMESUFFIX= -rscsi
PLIST_SUB= RSCSI="@comment "
.endif
+# Hack to allow building with TARGET and TARGET_ARCH set in the environment
+# as done by the release building scripts.
+MAKE_ARGS= -R
+SETENV= /usr/bin/env -i -P ${PATH}
+
MAKE_ENV= CCOM=cc GMAKE_NOWARN=true INS_BASE=${LOCALBASE} \
INS_RBASE=${LOCALBASE}
CDRTLSTARGET= ${ARCH}-freebsd-cc