aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-01-07 19:26:43 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-01-07 19:26:43 +0000
commitfd6feb8a1dc5b6720fa854f510892ec059a7501c (patch)
tree4e68f4e38eeedf8b21f7b3d9da785f9ce0d62175 /net-p2p
parent95962e63de987eb32fa3a3061c3ce3f4bcdfb349 (diff)
downloadports-fd6feb8a1dc5b6720fa854f510892ec059a7501c.tar.gz
ports-fd6feb8a1dc5b6720fa854f510892ec059a7501c.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/mldonkey-devel/Makefile2
-rw-r--r--net-p2p/mldonkey-devel/files/patch-configure11
-rw-r--r--net-p2p/mldonkey/Makefile2
-rw-r--r--net-p2p/mldonkey/files/patch-configure11
4 files changed, 24 insertions, 2 deletions
diff --git a/net-p2p/mldonkey-devel/Makefile b/net-p2p/mldonkey-devel/Makefile
index f0323743d647..8032c0a7a769 100644
--- a/net-p2p/mldonkey-devel/Makefile
+++ b/net-p2p/mldonkey-devel/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-devel/files/patch-configure b/net-p2p/mldonkey-devel/files/patch-configure
new file mode 100644
index 000000000000..f0efc85a7e90
--- /dev/null
+++ b/net-p2p/mldonkey-devel/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
+
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
+