svn commit: r302804 - head/devel/icu

Baptiste Daroussin bapt at FreeBSD.org
Mon Aug 20 15:29:54 UTC 2012


Author: bapt
Date: Mon Aug 20 15:29:53 2012
New Revision: 302804
URL: http://svn.freebsd.org/changeset/ports/302804

Log:
  - fix build with libc++
  
  PR:		ports/169868
  Submitted by:	Jan Beich <jbeich at tormail.org>

Modified:
  head/devel/icu/Makefile

Modified: head/devel/icu/Makefile
==============================================================================
--- head/devel/icu/Makefile	Mon Aug 20 15:24:13 2012	(r302803)
+++ head/devel/icu/Makefile	Mon Aug 20 15:29:53 2012	(r302804)
@@ -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



More information about the svn-ports-head mailing list