summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2011-08-13 13:34:50 +0000
committerMarius Strobl <marius@FreeBSD.org>2011-08-13 13:34:50 +0000
commit2116aee7419515da18723d322813a14d8e629b2d (patch)
treed247eb530cac1aa67859cfa5d6ab7902a13d7ec1 /sysutils
parentThis module allows Perl programs to conveniently read information from (diff)
- Allow to build on powerpc64. [1]
- Revert the hack allowing to cross-compile FreeBSD/i386 releases on amd64 as it caused more problems than it solved. As of r224838 all of head, stable/8 and stable/7 are switch to use use makefs(8) instead of mkisofs(8) so this hack is no longer necessary. [2] PR: 159671 [1], 151486 [2], 152309 [2], probably some more for [2] Approved by: netchild
Notes
Notes: svn path=/head/; revision=279597
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/cdrtools/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile
index 8f93c4cc422b..b2e7ca07fde2 100644
--- a/sysutils/cdrtools/Makefile
+++ b/sysutils/cdrtools/Makefile
@@ -84,14 +84,9 @@ 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.
-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
+CDRTLSTARGET= ${ARCH:S/powerpc64/powerpc/}-freebsd-cc
.include <bsd.port.pre.mk>