aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cdrtools
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2012-03-08 20:36:22 +0800
committermarius <marius@FreeBSD.org>2012-03-08 20:36:22 +0800
commitb1a366b8a279111f1c834c14bea9a9042f11fb4d (patch)
treef302a7d268b03b51bab2c7753f236dbb464abb84 /sysutils/cdrtools
parent615d5818ec236f9da2d5c3ef020ba252444a83da (diff)
downloadfreebsd-ports-gnome-b1a366b8a279111f1c834c14bea9a9042f11fb4d.tar.gz
freebsd-ports-gnome-b1a366b8a279111f1c834c14bea9a9042f11fb4d.tar.zst
freebsd-ports-gnome-b1a366b8a279111f1c834c14bea9a9042f11fb4d.zip
Bring back the workarounds from rev. 1.80 and 1.82 to potentially unbreak
the sparc64 release builds. Approved by: netchild
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