From b1a366b8a279111f1c834c14bea9a9042f11fb4d Mon Sep 17 00:00:00 2001 From: marius Date: Thu, 8 Mar 2012 12:36:22 +0000 Subject: Bring back the workarounds from rev. 1.80 and 1.82 to potentially unbreak the sparc64 release builds. Approved by: netchild --- sysutils/cdrtools/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sysutils') 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 -- cgit