Working on a port of libcudf (see the opam thread) I've had to use our
packaged extlib, which IMHO needs a bit more to be usable (namely,
extLib.cmi).  Thanks to Julien Moutinho who helped removing the rust
from my Ocaml-fu.

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/ocaml-extlib/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile    11 Mar 2013 10:50:12 -0000      1.3
+++ Makefile    16 Mar 2013 06:30:12 -0000
@@ -3,7 +3,7 @@
 COMMENT=               extended standard library for OCaml
 
 DISTNAME=              extlib-1.5.3
-REVISION=              0
+REVISION=              1
 PKGNAME=               ocaml-${DISTNAME}
 CATEGORIES=            devel
 
Index: patches/patch-Makefile
===================================================================
RCS file: patches/patch-Makefile
diff -N patches/patch-Makefile
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-Makefile      16 Mar 2013 06:51:08 -0000
@@ -0,0 +1,13 @@
+$OpenBSD$
+install extLib.cmi else import ExtLib will fail
+--- Makefile.orig      Sat Mar 16 07:49:33 2013
++++ Makefile   Sat Mar 16 07:49:42 2013
+@@ -24,7 +24,7 @@ doc:
+       ocamldoc -sort -html -d doc/ $(MLI)
+ 
+ install:
+-      ocamlfind install extlib META extLib.cma $(MLI) $(CMI) -optional 
extLib.cmxa $(CMX) extLib.cmxs extLib.a extLib.lib
++      ocamlfind install extlib META extLib.cma $(MLI) extLib.cmi $(CMI) 
-optional extLib.cmxa $(CMX) extLib.cmxs extLib.a extLib.lib
+ 
+ uninstall:
+       ocamlfind remove extlib
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/ocaml-extlib/pkg/PLIST,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST   6 Nov 2012 20:52:49 -0000       1.1.1.1
+++ pkg/PLIST   16 Mar 2013 04:23:56 -0000
@@ -19,6 +19,7 @@ lib/ocaml/extlib/extArray.mli
 lib/ocaml/extlib/extHashtbl.cmi
 lib/ocaml/extlib/extHashtbl.mli
 lib/ocaml/extlib/extLib.cma
+lib/ocaml/extlib/extLib.cmi
 lib/ocaml/extlib/extList.cmi
 lib/ocaml/extlib/extList.mli
 lib/ocaml/extlib/extString.cmi

Reply via email to