aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdrtools-devel
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2011-08-13 13:37:20 +0000
committerMarius Strobl <marius@FreeBSD.org>2011-08-13 13:37:20 +0000
commitcdf7ac1d28c2eab8a8320bb63a12894a2d12ca2a (patch)
treeaaf40f0ce6179019484a51027db6acfdede49a10 /sysutils/cdrtools-devel
parent2116aee7419515da18723d322813a14d8e629b2d (diff)
downloadports-cdf7ac1d28c2eab8a8320bb63a12894a2d12ca2a.tar.gz
ports-cdf7ac1d28c2eab8a8320bb63a12894a2d12ca2a.zip
- Allow to build on powerpc64.
- 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. Approved by: netchild
Notes
Notes: svn path=/head/; revision=279598
Diffstat (limited to 'sysutils/cdrtools-devel')
-rw-r--r--sysutils/cdrtools-devel/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/sysutils/cdrtools-devel/Makefile b/sysutils/cdrtools-devel/Makefile
index d9d446991a61..6107755cc20e 100644
--- a/sysutils/cdrtools-devel/Makefile
+++ b/sysutils/cdrtools-devel/Makefile
@@ -87,14 +87,9 @@ 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.
-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>