Sat Jun 16 09:04:02 2012 UTC ()
The libxml2 version test in this thing believes that checking that
version A.B.C is at least D.E.F is to be done by checking A >= D, B >=
E, *and* C >= F. Therefore, it believes that the most recent libxml2
update, which is 2.8.0, is less than its minimum requirement 2.4.1.
Rather than trying to repair this curious logic, just patch the test
to always succeed, as pkgsrc always provides a suitable libxml2.
(dholland)
diff -r1.7 -r1.8 pkgsrc/www/bkedit/distinfo
diff -r0 -r1.1 pkgsrc/www/bkedit/patches/patch-configure
--- pkgsrc/www/bkedit/distinfo 2008/06/20 01:09:41 1.7
+++ pkgsrc/www/bkedit/distinfo 2012/06/16 09:04:02 1.8
| @@ -1,10 +1,11 @@ | | | @@ -1,10 +1,11 @@ |
1 | $NetBSD: distinfo,v 1.7 2008/06/20 01:09:41 joerg Exp $ | | 1 | $NetBSD: distinfo,v 1.8 2012/06/16 09:04:02 dholland Exp $ |
2 | | | 2 | |
3 | SHA1 (bk_edit-0.6.23.tar.gz) = fe37a0e213e54d8a60f70b6e03818e26f3690bf2 | | 3 | SHA1 (bk_edit-0.6.23.tar.gz) = fe37a0e213e54d8a60f70b6e03818e26f3690bf2 |
4 | RMD160 (bk_edit-0.6.23.tar.gz) = a9cc09925ccd0691d5a38b04ea2a81f877a3c102 | | 4 | RMD160 (bk_edit-0.6.23.tar.gz) = a9cc09925ccd0691d5a38b04ea2a81f877a3c102 |
5 | Size (bk_edit-0.6.23.tar.gz) = 113434 bytes | | 5 | Size (bk_edit-0.6.23.tar.gz) = 113434 bytes |
6 | SHA1 (patch-aa) = 5849d18f67e6f99ab93a47b326e400d30099af89 | | 6 | SHA1 (patch-aa) = 5849d18f67e6f99ab93a47b326e400d30099af89 |
7 | SHA1 (patch-ab) = 35434dd2df53738c6941f01f7fdd780bf20ea3fb | | 7 | SHA1 (patch-ab) = 35434dd2df53738c6941f01f7fdd780bf20ea3fb |
8 | SHA1 (patch-ac) = f2d604127d303ad1293c2990671a807a772da2ac | | 8 | SHA1 (patch-ac) = f2d604127d303ad1293c2990671a807a772da2ac |
9 | SHA1 (patch-ad) = e1161633ecd78e5c195e97a70710f4af99950a76 | | 9 | SHA1 (patch-ad) = e1161633ecd78e5c195e97a70710f4af99950a76 |
10 | SHA1 (patch-ae) = c9be8f24f93a885c4a2adaca103e3b487a5200e0 | | 10 | SHA1 (patch-ae) = c9be8f24f93a885c4a2adaca103e3b487a5200e0 |
| | | 11 | SHA1 (patch-configure) = 967818c8bb1b777c9adb0897e55f6741038cfbb8 |
$NetBSD: patch-configure,v 1.1 2012/06/16 09:04:02 dholland Exp $
The libxml2 version test in this thing believes that checking that
version A.B.C is at least D.E.F is to be done by checking A >= D, B >=
E, *and* C >= F. Therefore, it believes that the most recent libxml2
update, which is 2.8.0, is less than its minimum requirement 2.4.1.
Rather than trying to repair this curious logic, just patch the test
to always succeed, as pkgsrc always provides a suitable libxml2.
--- configure~ 2003-11-29 13:14:14.000000000 +0000
+++ configure
@@ -236,7 +236,7 @@ xml2_major_version=`$XML2_CONFIG --versi
xml2_minor_version=`$XML2_CONFIG --version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
xml2_micro_version=`$XML2_CONFIG --version | sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
-XML2_VERSION="no"
+XML2_VERSION="yes"
if [ $xml2_major_version -ge $maj ]; then
if [ $xml2_minor_version -ge $min ]; then
if [ $xml2_micro_version -ge $mic ]; then