diff options
author | marcus <marcus@FreeBSD.org> | 2004-07-07 13:37:57 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2004-07-07 13:37:57 +0800 |
commit | c5d4cd7c27cd1d4514d14c9491a834c517bf5de9 (patch) | |
tree | 63c5f052c93da6f5f6e475558ddfebd265e14ddc | |
parent | 93c787d681ce0baa2332e446c53c3daf84bd0041 (diff) | |
download | freebsd-ports-gnome-c5d4cd7c27cd1d4514d14c9491a834c517bf5de9.tar.gz freebsd-ports-gnome-c5d4cd7c27cd1d4514d14c9491a834c517bf5de9.tar.zst freebsd-ports-gnome-c5d4cd7c27cd1d4514d14c9491a834c517bf5de9.zip |
Fix the build with libxml2-2.6.11.
Reported by: pointyhat via kris
-rw-r--r-- | textproc/xmlstarlet/files/patch-configure | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/xmlstarlet/files/patch-configure b/textproc/xmlstarlet/files/patch-configure new file mode 100644 index 000000000000..8624bc7a9eaa --- /dev/null +++ b/textproc/xmlstarlet/files/patch-configure @@ -0,0 +1,11 @@ +--- 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 |