aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-08-13 21:34:50 +0800
committermarius <marius@FreeBSD.org>2011-08-13 21:34:50 +0800
commitf5685158240a9e8f1008b12be0559b62260b85e5 (patch)
tree1e5b628c9b9acb29358b9210b7f04cdfd24b0062 /sysutils
parent994dbdd7a713c08fa555bc6011dd6980ac322466 (diff)
downloadfreebsd-ports-gnome-f5685158240a9e8f1008b12be0559b62260b85e5.tar.gz
freebsd-ports-gnome-f5685158240a9e8f1008b12be0559b62260b85e5.tar.zst
freebsd-ports-gnome-f5685158240a9e8f1008b12be0559b62260b85e5.zip
- 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
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>