diff options
author | andreast <andreast@FreeBSD.org> | 2012-06-16 12:36:47 +0800 |
---|---|---|
committer | andreast <andreast@FreeBSD.org> | 2012-06-16 12:36:47 +0800 |
commit | 57ff71d979679d79c428b31490d07a194180a14e (patch) | |
tree | 5412d12bb0da2b41e7fb875d683042037c43871c /lang/gcc48/Makefile | |
parent | 0da2b15ef77d47c6d873383c71fefbc482b0b497 (diff) | |
download | freebsd-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/gcc48/Makefile')
-rw-r--r-- | lang/gcc48/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile index fa1deb2fbf3b..c2318db48007 100644 --- a/lang/gcc48/Makefile +++ b/lang/gcc48/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} |