From 9b483a69ae04b755cb63caf56373c23ab50fb1fb Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Fri, 9 Sep 2016 06:13:39 +0000 Subject: [PATCH] devel/powerpc64-gcc: use libc++ Approved by: bapt (maintainer) --- devel/powerpc64-gcc/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/devel/powerpc64-gcc/Makefile b/devel/powerpc64-gcc/Makefile index e8f90071b14f..cde43a37dfd3 100644 --- a/devel/powerpc64-gcc/Makefile +++ b/devel/powerpc64-gcc/Makefile @@ -2,6 +2,7 @@ PORTNAME= gcc PORTVERSION= 5.3.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GCC/releases/gcc-${DISTVERSION} PKGNAMEPREFIX?= powerpc64- @@ -12,6 +13,8 @@ COMMENT= Cross GNU Compiler Collection for ${PKGNAMEPREFIX:C/-//g} LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi +CONFIGURE_ENV= gcc_gxx_include_dir="/usr/include/c++/v1" + USES= gmake iconv libtool tar:bzip2 makeinfo compiler PLIST_SUB= TARGETARCH=${PKGNAMEPREFIX:C/-//g} \ OPSYS=${OPSYS:tl} \ @@ -54,6 +57,10 @@ BROKEN_FreeBSD9= plist is different on 9.x that on other arches .include +post-patch: + @${REINPLACE_CMD} -e '/LIBSTDCXX/ s/stdc\+\+/c\+\+/g ' \ + ${WRKSRC}//gcc/cp/g++spec.c + .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} .else