summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2009-09-03 17:16:19 +0000
committertonio <tonio@pkgsrc.org>2009-09-03 17:16:19 +0000
commit9ef4e559a52a3ce10e1e8ccd3b65567c4529d301 (patch)
tree4195861002e974b81ea295ffc58399a100c4d429 /net
parentef89a36e08925bb6dc23fe00e674a853d5225f39 (diff)
downloadpkgsrc-9ef4e559a52a3ce10e1e8ccd3b65567c4529d301.tar.gz
Allow net/mldonkey to be built with ocaml-3.11.1
Diffstat (limited to 'net')
-rw-r--r--net/mldonkey/distinfo3
-rw-r--r--net/mldonkey/patches/patch-aa15
2 files changed, 17 insertions, 1 deletions
diff --git a/net/mldonkey/distinfo b/net/mldonkey/distinfo
index 941cf1e37ca..d66aace08d9 100644
--- a/net/mldonkey/distinfo
+++ b/net/mldonkey/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.48 2009/02/25 23:39:36 wiz Exp $
+$NetBSD: distinfo,v 1.49 2009/09/03 17:16:19 tonio Exp $
SHA1 (mldonkey-3.0.0.tar.bz2) = 8d3f1808578bb145655050c0224f512afe0266b5
RMD160 (mldonkey-3.0.0.tar.bz2) = c53efda6b513bbfd2dcd71804600b0906252e463
Size (mldonkey-3.0.0.tar.bz2) = 2723830 bytes
+SHA1 (patch-aa) = ccfef62acf5d5f527f8b969d4c1f06102f1eb7c0
diff --git a/net/mldonkey/patches/patch-aa b/net/mldonkey/patches/patch-aa
new file mode 100644
index 00000000000..bc4bac747d3
--- /dev/null
+++ b/net/mldonkey/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.17 2009/09/03 17:16:19 tonio Exp $
+
+Ensure mldonkey accepts ocaml 3.11.1
+
+--- config/configure.orig 2009-02-24 22:47:56.000000000 +0100
++++ config/configure
+@@ -4580,7 +4580,7 @@ if test -z "$OCAMLC" || test -z "$CAM
+ else
+ OCAMLVERSION=`$OCAMLC -v | sed -n -e 's|.*version* *\(.*\)$|\1|p' `
+ case "$OCAMLVERSION" in
+- "$REQUIRED_OCAML"*|3.11.0*|3.10.*|3.09.*|3.08.4*|3.08.3*) ;;
++ "$REQUIRED_OCAML"*|3.11.1*|3.11.0*|3.10.*|3.09.*|3.08.4*|3.08.3*) ;;
+ *)
+ echo "Need build"
+ BUILD_OCAML=yes