svn commit: r489423 - head/textproc/libxml2

Steve Wills swills at FreeBSD.org
Sat Jan 5 23:55:01 UTC 2019


Author: swills
Date: Sat Jan  5 23:55:00 2019
New Revision: 489423
URL: https://svnweb.freebsd.org/changeset/ports/489423

Log:
  textproc/libxml2: fix build with GCC-based architectures
  
  PR:		234563
  Submitted by:	Piotr Kubaj <pkubaj at anongoth.pl>
  Pointyhat to:	swills

Modified:
  head/textproc/libxml2/Makefile   (contents, props changed)

Modified: head/textproc/libxml2/Makefile
==============================================================================
--- head/textproc/libxml2/Makefile	Sat Jan  5 23:50:44 2019	(r489422)
+++ head/textproc/libxml2/Makefile	Sat Jan  5 23:55:00 2019	(r489423)
@@ -65,6 +65,9 @@ post-patch:
 		 s|/etc/sgml/catalog|${LOCALBASE}/share/sgml/catalog|g' \
 		${WRKSRC}/${f}
 .endfor
+.if exists(/usr/lib/libstdc++.so)
+	@${REINPLACE_CMD} -e 's/ -Wno-array-bounds//' ${WRKSRC}/configure
+.endif
 
 .if !defined(MASTERDIR)
 post-install:


More information about the svn-ports-head mailing list