aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc47
diff options
context:
space:
mode:
authorandreast <andreast@FreeBSD.org>2012-06-16 12:36:47 +0800
committerandreast <andreast@FreeBSD.org>2012-06-16 12:36:47 +0800
commit57ff71d979679d79c428b31490d07a194180a14e (patch)
tree5412d12bb0da2b41e7fb875d683042037c43871c /lang/gcc47
parent0da2b15ef77d47c6d873383c71fefbc482b0b497 (diff)
downloadfreebsd-ports-gnome-57ff71d979679d79c428b31490d07a194180a14e.tar.gz
freebsd-ports-gnome-57ff71d979679d79c428b31490d07a194180a14e.tar.zst
freebsd-ports-gnome-57ff71d979679d79c428b31490d07a194180a14e.zip
Add powerpc64 support.
Approved by: gerald
Diffstat (limited to 'lang/gcc47')
-rw-r--r--lang/gcc47/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index 206fb204f06e..fbac283e873e 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/Makefile
@@ -28,7 +28,7 @@ BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu
VERSIONSTRING= ${PORTVERSION:C/([0-9]+\.[0-9]+).*\.([0-9]+)/\1-\2/}
SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
LATEST_LINK= gcc${SUFFIX}${PKGNAMESUFFIX}
-ONLY_FOR_ARCHS= amd64 i386 powerpc sparc64
+ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 sparc64
USE_BINUTILS= yes
USE_BISON= build
USE_BZIP2= yes
@@ -54,6 +54,10 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.endif
+.if ${ARCH} == powerpc64
+CONFIGURE_ENV+= UNAME_m="powerpc64"
+.endif
+
SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING}
WRKSRC= ${WRKDIR}/build
TARGLIB= ${PREFIX}/lib/gcc${SUFFIX}