mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
devel/powerpc64-gcc: use libc++
Approved by: bapt (maintainer)
This commit is contained in:
parent
1aa0fe1e79
commit
9b483a69ae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421598
@ -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 <bsd.port.options.mk>
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user