Date: Mon, 22 Dec 2003 14:45:43 +0800 (CST) From: dhchen <dhchen@mail.dhchen.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/60490: ports/net/mldonkey fails to build with the newest ports/lang/ocaml Message-ID: <20031222064543.6169E60E3@mail.dhchen.com> Resent-Message-ID: <200312220650.hBM6oMvW039161@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 60490 >Category: ports >Synopsis: ports/net/mldonkey fails to build with the newest ports/lang/ocaml >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Dec 21 22:50:22 PST 2003 >Closed-Date: >Last-Modified: >Originator: dhchen >Release: FreeBSD 5.2-RC i386 >Organization: >Environment: System: FreeBSD mail.dhchen.com 5.2-RC FreeBSD 5.2-RC #4: Sun Dec 21 10:44:17 CST 2003 root@mail.dhchen.com:/usr/obj/usr/src/sys/MAIL i386 >Description: ports/lang/ocaml changes its version number, and this change makes mldonkey fail to build because its configure script doesn't recognize ocaml's version number "make configure"'s output: checking for ocamlc.opt... (cached) ocamlc.opt checking for ocamlc... (cached) ocamlc.opt i386-portbld-freebsd5.2 Testing ocaml version Need build checking for /usr/ports/net/mldonkey/work/mldonkey-2.5-4/patches/local/bin/ocamlc.opt... no checking for rpmbuild... (cached) rpm checking for rpm... (cached) rpm checking for wget... (cached) wget ******** Objective-Caml 3.06 is required ********* ******* Check http://ocaml.inria.fr/ ******** Do you want this script to try to download and install ocaml LOCALLY in mldonkey directory ? >How-To-Repeat: install the newest version of ocaml cd /usr/ports/net/mldonkey && make install >Fix: Below is just a workaround: Apply this patch: --- Makefile.orig Mon Dec 22 14:29:29 2003 +++ Makefile Mon Dec 22 14:29:47 2003 @@ -18,7 +18,7 @@ BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-pthread +CONFIGURE_ARGS= --enable-pthread --enable-ocamlver=3.07+2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.(.)$/-\1/} USE_GMAKE= yes ALL_TARGET= depend opt After "make configure", apply this patch: --- work/mldonkey-2.5-4/src/utils/lib/autoconf.ml.orig Mon Dec 22 14:33:50 2003 +++ work/mldonkey-2.5-4/src/utils/lib/autoconf.ml Mon Dec 22 14:33:57 2003 @@ -19,4 +19,3 @@ let zlib__uncompress_string2 s = Zlib.uncompress_string2 s let zlib__compress_string s = Zlib.compress_string s -type ('a,'b,'c) ml_format = ('a,'b, 'c,'c) format type ('a,'b,'c) format = ('a,'b, 'c) ml_format >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031222064543.6169E60E3>