Allow net/mldonkey to be built with ocaml-3.11.1

This commit is contained in:
tonio 2009-09-03 17:16:19 +00:00
parent ef89a36e08
commit 9ef4e559a5
2 changed files with 17 additions and 1 deletions

View file

@ -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

View file

@ -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