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

cvs diff -r1.7 -r1.8 pkgsrc/www/bkedit/distinfo (expand / switch to unified diff)

--- 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
3SHA1 (bk_edit-0.6.23.tar.gz) = fe37a0e213e54d8a60f70b6e03818e26f3690bf2 3SHA1 (bk_edit-0.6.23.tar.gz) = fe37a0e213e54d8a60f70b6e03818e26f3690bf2
4RMD160 (bk_edit-0.6.23.tar.gz) = a9cc09925ccd0691d5a38b04ea2a81f877a3c102 4RMD160 (bk_edit-0.6.23.tar.gz) = a9cc09925ccd0691d5a38b04ea2a81f877a3c102
5Size (bk_edit-0.6.23.tar.gz) = 113434 bytes 5Size (bk_edit-0.6.23.tar.gz) = 113434 bytes
6SHA1 (patch-aa) = 5849d18f67e6f99ab93a47b326e400d30099af89 6SHA1 (patch-aa) = 5849d18f67e6f99ab93a47b326e400d30099af89
7SHA1 (patch-ab) = 35434dd2df53738c6941f01f7fdd780bf20ea3fb 7SHA1 (patch-ab) = 35434dd2df53738c6941f01f7fdd780bf20ea3fb
8SHA1 (patch-ac) = f2d604127d303ad1293c2990671a807a772da2ac 8SHA1 (patch-ac) = f2d604127d303ad1293c2990671a807a772da2ac
9SHA1 (patch-ad) = e1161633ecd78e5c195e97a70710f4af99950a76 9SHA1 (patch-ad) = e1161633ecd78e5c195e97a70710f4af99950a76
10SHA1 (patch-ae) = c9be8f24f93a885c4a2adaca103e3b487a5200e0 10SHA1 (patch-ae) = c9be8f24f93a885c4a2adaca103e3b487a5200e0
 11SHA1 (patch-configure) = 967818c8bb1b777c9adb0897e55f6741038cfbb8

File Added: pkgsrc/www/bkedit/patches/patch-configure
$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