On 21 Oct 2014, at 19:18, Christopher Zimmermann <[email protected]> wrote:
> --- patches/patch-Makefile_in 18 Aug 2012 22:06:49 -0000 > 1.2 +++ patches/patch-Makefile_in 21 Oct 2014 18:17:05 -0000 > @@ -1,7 +1,22 @@ > $OpenBSD: patch-Makefile_in,v 1.2 2012/08/18 22:06:49 avsm Exp $ > ---- Makefile.in.orig Fri Aug 10 03:46:25 2012 > -+++ Makefile.in Fri Aug 10 03:46:58 2012 > -@@ -209,7 +209,7 @@ headers: > + > +ocamlfind is only usable if the library has a name! > + > +the target/*.cmx[as] would fail on bytecode only archs > + ok for the documentation, but I don't understand why you need to add the `name` field in the local patch. That's inferred by findlib by the directory it's installed in. I have: $ cat ~/.opam/system/lib/calendar/META description = "calendar library" version = "2.03.2" archive(byte) = "calendarLib.cma" archive(native) = "calendarLib.cmxa" requires = "unix str" And this works fine in utop $ utop # #require "calendar" ;; # CalendarLib.Version.version;; - : string = "2.03.2" -anil
