textproc/libxml2: fix build with GCC-based architectures

PR:		234563
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
Pointyhat to:	swills
This commit is contained in:
Steve Wills 2019-01-05 23:55:00 +00:00
parent c3d6495e77
commit 3c061c9867
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=489423

View File

@ -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: