aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-12-23 21:44:16 +0800
committerlioux <lioux@FreeBSD.org>2002-12-23 21:44:16 +0800
commit188db3a7c5bb923aab2044fb6554589750336bb0 (patch)
tree450c917db94b02603c80c243d148f819fa711847
parent9dfa1d6f73f6a4ba523a4c66583bb2d3f774bd6f (diff)
downloadfreebsd-ports-graphics-188db3a7c5bb923aab2044fb6554589750336bb0.tar.gz
freebsd-ports-graphics-188db3a7c5bb923aab2044fb6554589750336bb0.tar.zst
freebsd-ports-graphics-188db3a7c5bb923aab2044fb6554589750336bb0.zip
Fix build in -CURRENT: avoid conflicts by not building port's version
of sys_nerr, sys_errlist and sys_nsig PR: 46491 Submitted by: bento, MAINTAINER
-rw-r--r--devel/mingw-gcc/Makefile2
-rw-r--r--devel/mingw32-gcc/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/devel/mingw-gcc/Makefile b/devel/mingw-gcc/Makefile
index 1fc55c0e5e9..95fe55c370c 100644
--- a/devel/mingw-gcc/Makefile
+++ b/devel/mingw-gcc/Makefile
@@ -40,6 +40,8 @@ MAN1= cccp.1 \
post-patch:
${REINPLACE_CMD} -e 's/install-libiberty//' ${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -E -e 's/([^x])str(error|signal).[co]/\1/g' \
+ ${WRKSRC}/libiberty/Makefile.in ${WRKSRC}/libstdc++/Makefile.in
pre-install:
${MV} ${PREFIX}/bin/i386-mingw32msvc-c++filt \
diff --git a/devel/mingw32-gcc/Makefile b/devel/mingw32-gcc/Makefile
index 1fc55c0e5e9..95fe55c370c 100644
--- a/devel/mingw32-gcc/Makefile
+++ b/devel/mingw32-gcc/Makefile
@@ -40,6 +40,8 @@ MAN1= cccp.1 \
post-patch:
${REINPLACE_CMD} -e 's/install-libiberty//' ${WRKSRC}/Makefile.in
+ ${REINPLACE_CMD} -E -e 's/([^x])str(error|signal).[co]/\1/g' \
+ ${WRKSRC}/libiberty/Makefile.in ${WRKSRC}/libstdc++/Makefile.in
pre-install:
${MV} ${PREFIX}/bin/i386-mingw32msvc-c++filt \