Page MenuHomeFreeBSD

D14627.id40227.diff
No OneTemporary

D14627.id40227.diff

Index: devel/powerpc64-gcc/Makefile
===================================================================
--- devel/powerpc64-gcc/Makefile
+++ devel/powerpc64-gcc/Makefile
@@ -47,7 +47,9 @@
--with-gmp=${LOCALBASE} \
--with-pkgversion="FreeBSD Ports Collection for ${PKGNAMEPREFIX:C/-//g}" \
--with-system-zlib \
- --with-gcc-include-dir=/usr/include/c++/v1/ \
+ --with-gxx-include-dir=/usr/include/c++/v1/ \
+ --with-build-sysroot="${WRKDIR}/build_sysroot" \
+ --with-sysroot="/" \
--with-as=${LOCALBASE}/bin/${BU_PREFIX}-as \
--with-ld=${LOCALBASE}/bin/${BU_PREFIX}-ld
@@ -60,6 +62,9 @@
post-patch:
@${REINPLACE_CMD} -e '/LIBSTDCXX/ s/stdc\+\+/c\+\+/g ' \
${WRKSRC}//gcc/cp/g++spec.c
+ @${REINPLACE_CMD} -e '/LOCAL_INCLUDE_DIR/ d ' \
+ ${WRKSRC}//gcc/Makefile.in
+ @${MKDIR} ${WRKDIR}/build_sysroot/usr/include
.if ${TARGETARCH} == "amd64"
CONFIGURE_TARGET= x86_64-unknown-${OPSYS:tl}${OSREL}

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 31, 2:49 PM (9 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27414285
Default Alt Text
D14627.id40227.diff (924 B)

Event Timeline