diff options
author | dholland <dholland@pkgsrc.org> | 2012-06-16 09:04:02 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-06-16 09:04:02 +0000 |
commit | 5c06c69bc93810d99b259891523075ec2508bb77 (patch) | |
tree | e537ed9fc8ddb9acad16701016941073cdb9ee4c /www/bkedit | |
parent | b1a0eccb77703a46298b99c25cbf45d825548e9c (diff) | |
download | pkgsrc-5c06c69bc93810d99b259891523075ec2508bb77.tar.gz |
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.
Diffstat (limited to 'www/bkedit')
-rw-r--r-- | www/bkedit/distinfo | 3 | ||||
-rw-r--r-- | www/bkedit/patches/patch-configure | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/www/bkedit/distinfo b/www/bkedit/distinfo index d58070db540..c7be6768aec 100644 --- a/www/bkedit/distinfo +++ b/www/bkedit/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2008/06/20 01:09:41 joerg Exp $ +$NetBSD: distinfo,v 1.8 2012/06/16 09:04:02 dholland Exp $ SHA1 (bk_edit-0.6.23.tar.gz) = fe37a0e213e54d8a60f70b6e03818e26f3690bf2 RMD160 (bk_edit-0.6.23.tar.gz) = a9cc09925ccd0691d5a38b04ea2a81f877a3c102 @@ -8,3 +8,4 @@ SHA1 (patch-ab) = 35434dd2df53738c6941f01f7fdd780bf20ea3fb SHA1 (patch-ac) = f2d604127d303ad1293c2990671a807a772da2ac SHA1 (patch-ad) = e1161633ecd78e5c195e97a70710f4af99950a76 SHA1 (patch-ae) = c9be8f24f93a885c4a2adaca103e3b487a5200e0 +SHA1 (patch-configure) = 967818c8bb1b777c9adb0897e55f6741038cfbb8 diff --git a/www/bkedit/patches/patch-configure b/www/bkedit/patches/patch-configure new file mode 100644 index 00000000000..77c163ad6bf --- /dev/null +++ b/www/bkedit/patches/patch-configure @@ -0,0 +1,21 @@ +$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 |