From 57ff71d979679d79c428b31490d07a194180a14e Mon Sep 17 00:00:00 2001 From: andreast Date: Sat, 16 Jun 2012 04:36:47 +0000 Subject: Add powerpc64 support. Approved by: gerald --- lang/gcc47/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lang/gcc47') 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} -- cgit