ports/textproc/xmlstarlet/files/patch-configure
Joe Marcus Clarke 7da129f8b8 Fix the build with libxml2-2.6.11.
Reported by:	pointyhat via kris
2004-07-07 05:37:57 +00:00

11 lines
525 B
Text

--- configure.orig Wed Jul 7 05:36:27 2004
+++ configure Wed Jul 7 05:37:12 2004
@@ -896,7 +896,7 @@
if test "x$LIBXML_SRC" = "x"
then
- LIBXML_VERSION=`$LIBXML_PREFIX/bin/xml2-config --version | sed -e 's/\.//g' -e 's/^\(.\{3\}\).*/\1/'`
+ LIBXML_VERSION=`$LIBXML_PREFIX/bin/xml2-config --version | sed -e 's/\.//g' -e 's/^\(.\{3,4\}\).*/\1/'`
if test "$LIBXML_VERSION" -lt 262; then
{ echo "configure: error: xmlstarlet needs at least libxml2 version 2.6.2 (http://www.xmlsoft.org/)" 1>&2; exit 1; }
fi