Make sure extLib.cmi gets installed, which will be required by other

ports (opam) currently being worked on. From jca@wxcvbn.org.

ok sthen@
This commit is contained in:
jturner 2013-03-28 23:21:02 +00:00
parent 8e9fc66146
commit b95391d5cc
3 changed files with 18 additions and 3 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.3 2013/03/11 10:50:12 espie Exp $
# $OpenBSD: Makefile,v 1.4 2013/03/28 23:21:02 jturner Exp $
COMMENT= extended standard library for OCaml
DISTNAME= extlib-1.5.3
REVISION= 0
REVISION= 1
PKGNAME= ocaml-${DISTNAME}
CATEGORIES= devel

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-Makefile,v 1.1 2013/03/28 23:21:02 jturner Exp $
- install extLib.cmi else import ExtLib will fail
upstream: https://code.google.com/p/ocaml-extlib/source/detail?r=402
--- 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 extLib.cmi $(MLI) $(CMI) -optional extLib.cmxa $(CMX) extLib.cmxs extLib.a extLib.lib
uninstall:
ocamlfind remove extlib

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/11/06 20:52:49 jasper Exp $
@comment $OpenBSD: PLIST,v 1.2 2013/03/28 23:21:02 jturner Exp $
%%native%%
lib/ocaml/extlib/
lib/ocaml/extlib/IO.cmi
@ -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