Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2016 06:13:39 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421598 - head/devel/powerpc64-gcc
Message-ID:  <201609090613.u896DdIB031761@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Fri Sep  9 06:13:39 2016
New Revision: 421598
URL: https://svnweb.freebsd.org/changeset/ports/421598

Log:
  devel/powerpc64-gcc: use libc++
  
  Approved by:	bapt (maintainer)

Modified:
  head/devel/powerpc64-gcc/Makefile

Modified: head/devel/powerpc64-gcc/Makefile
==============================================================================
--- head/devel/powerpc64-gcc/Makefile	Fri Sep  9 06:07:29 2016	(r421597)
+++ head/devel/powerpc64-gcc/Makefile	Fri Sep  9 06:13:39 2016	(r421598)
@@ -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 f
 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
 
 .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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609090613.u896DdIB031761>