diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-01-07 19:26:43 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-01-07 19:26:43 +0000 |
commit | fd6feb8a1dc5b6720fa854f510892ec059a7501c (patch) | |
tree | 4e68f4e38eeedf8b21f7b3d9da785f9ce0d62175 /net-p2p/mldonkey | |
parent | Update to 2.4.3. (diff) |
- Fix build with ocaml-3.07_1
PR: ports/61012
Submitted by: Holger Lamm <holger@e-gitt.net> (maintainer)
Diffstat (limited to 'net-p2p/mldonkey')
-rw-r--r-- | net-p2p/mldonkey/Makefile | 2 | ||||
-rw-r--r-- | net-p2p/mldonkey/files/patch-configure | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/net-p2p/mldonkey/Makefile b/net-p2p/mldonkey/Makefile index f0323743d647..8032c0a7a769 100644 --- a/net-p2p/mldonkey/Makefile +++ b/net-p2p/mldonkey/Makefile @@ -18,7 +18,7 @@ COMMENT?= A OCAML client for multiple peer-to-peer networks BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-pthread +CONFIGURE_ARGS= --enable-pthread --enable-ocamlver=3 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.(.)$/-\1/} USE_GMAKE= yes ALL_TARGET= depend opt diff --git a/net-p2p/mldonkey/files/patch-configure b/net-p2p/mldonkey/files/patch-configure new file mode 100644 index 000000000000..f0efc85a7e90 --- /dev/null +++ b/net-p2p/mldonkey/files/patch-configure @@ -0,0 +1,11 @@ +--- config/configure.orig Sun Oct 12 20:41:28 2003 ++++ config/configure Wed Jan 7 13:24:29 2004 +@@ -3651,7 +3651,7 @@ + + case "$OCAMLVERSION" in + 3.06) TYPE_FORMAT="";; +- 3.07) TYPE_FORMAT="";; ++ 3.07*) TYPE_FORMAT="";; + *) TYPE_FORMAT="type ('a,'b,'c) ml_format = ('a,'b, 'c,'c) format type ('a,'b,'c) format = ('a,'b, 'c) ml_format";; + esac + |