aboutsummaryrefslogtreecommitdiffstats
path: root/devel/icu
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-08-20 23:29:53 +0800
committerbapt <bapt@FreeBSD.org>2012-08-20 23:29:53 +0800
commit5d9ef2ad5058f7b55688035dce129f6f26c934aa (patch)
treedc4aebbfa9e9a3ce2515cbf61881f479442db14f /devel/icu
parent973a247c08c0ab55ee5616f664ac5d44e87338f8 (diff)
downloadfreebsd-ports-gnome-5d9ef2ad5058f7b55688035dce129f6f26c934aa.tar.gz
freebsd-ports-gnome-5d9ef2ad5058f7b55688035dce129f6f26c934aa.tar.zst
freebsd-ports-gnome-5d9ef2ad5058f7b55688035dce129f6f26c934aa.zip
- fix build with libc++
PR: ports/169868 Submitted by: Jan Beich <jbeich@tormail.org>
Diffstat (limited to 'devel/icu')
-rw-r--r--devel/icu/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/icu/Makefile b/devel/icu/Makefile
index 1f467690c62f..4ad6fec7262f 100644
--- a/devel/icu/Makefile
+++ b/devel/icu/Makefile
@@ -72,6 +72,8 @@ CONFIGURE_ARGS+= --enable-weak-threads
.endif
post-patch:
+ @${REINPLACE_CMD} -e '/CXXFLAGS=/s/-ansi//' \
+ ${WRKSRC}/configure
.if defined(WITHOUT_THREADS)
@${REINPLACE_CMD} -e 's,\(THREADSC.*FLAGS\).*,\1=${PTHREAD_CFLAGS},g' ${WRKSRC}/config/mh-bsd-gcc
.endif