diff options
author | Andreas Tobler <andreast@FreeBSD.org> | 2012-06-16 04:36:47 +0000 |
---|---|---|
committer | Andreas Tobler <andreast@FreeBSD.org> | 2012-06-16 04:36:47 +0000 |
commit | e3d4cd154f818ca8b80553ff95a71f5ca1c2429b (patch) | |
tree | 8ec38de1da3f13b64fcbb2d0c87657dd07620156 /lang/gcc48 | |
parent | - Avoid += without preceeding definition (diff) |
Add powerpc64 support.
Approved by: gerald
Notes
Notes:
svn path=/head/; revision=299380
Diffstat (limited to 'lang/gcc48')
-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} |