aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2011-03-23 08:26:29 +0800
committergerald <gerald@FreeBSD.org>2011-03-23 08:26:29 +0800
commitd6ea21fb0eb10aa7bd2be7f5a2c0714f1c325de2 (patch)
tree53047f5aa7514d53e4dca6fd591b7e05a031e714
parentdbb36220157cb55661f46e70801e23d4a0300334 (diff)
downloadfreebsd-ports-gnome-d6ea21fb0eb10aa7bd2be7f5a2c0714f1c325de2.tar.gz
freebsd-ports-gnome-d6ea21fb0eb10aa7bd2be7f5a2c0714f1c325de2.tar.zst
freebsd-ports-gnome-d6ea21fb0eb10aa7bd2be7f5a2c0714f1c325de2.zip
Add support for 32-bit powerpc.
Submitted by: andreast
-rw-r--r--lang/gcc47/Makefile4
-rw-r--r--lang/gcc48/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index 593bf1ca99ae..3379dfdeab6d 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/Makefile
@@ -31,7 +31,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 ia64 sparc64
+ONLY_FOR_ARCHS= amd64 i386 ia64 powerpc sparc64
USE_BINUTILS= yes
USE_BISON= build
USE_BZIP2= yes
@@ -91,7 +91,7 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gccint \
gcc${SUFFIX}/gfortran \
gcc${SUFFIX}/libgomp
-.if ${ARCH} != "ia64" && ${ARCH} != "sparc64"
+.if ${ARCH} != "ia64" && ${ARCH} != "powerpc" && ${ARCH} != "sparc64"
INFO+= gcc${SUFFIX}/libquadmath
.endif
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile
index 593bf1ca99ae..3379dfdeab6d 100644
--- a/lang/gcc48/Makefile
+++ b/lang/gcc48/Makefile
@@ -31,7 +31,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 ia64 sparc64
+ONLY_FOR_ARCHS= amd64 i386 ia64 powerpc sparc64
USE_BINUTILS= yes
USE_BISON= build
USE_BZIP2= yes
@@ -91,7 +91,7 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gccint \
gcc${SUFFIX}/gfortran \
gcc${SUFFIX}/libgomp
-.if ${ARCH} != "ia64" && ${ARCH} != "sparc64"
+.if ${ARCH} != "ia64" && ${ARCH} != "powerpc" && ${ARCH} != "sparc64"
INFO+= gcc${SUFFIX}/libquadmath
.endif