Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2019 23:55:00 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489423 - head/textproc/libxml2
Message-ID:  <201901052355.x05Nt0qU008123@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901052355.x05Nt0qU008123>