Fixes "Cannot find file /usr/local/lib/ocaml/site-lib/batteries/pa_llist"

when interpreting on non-native architectures.

From Chris Zimmermann.

OK sthen@
This commit is contained in:
edd 2012-07-13 11:27:16 +00:00
parent 4c4a0e7aea
commit ea234c0446
2 changed files with 18 additions and 1 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/07/13 08:40:27 edd Exp $
# $OpenBSD: Makefile,v 1.2 2012/07/13 11:27:16 edd Exp $
COMMENT = OCaml Batteries Included - OCaml foundation library
CATEGORIES = devel
REVISION = 0
V = 1.4.3
# $N changes with every release, too.

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-META_in,v 1.1 2012/07/13 11:27:16 edd Exp $
Fixes "Cannot find file /usr/local/lib/ocaml/site-lib/batteries/pa_llist"
when interpreting on non-native architectures.
https://github.com/ocaml-batteries-team/batteries-included/issues/275
--- META.in.orig Tue Jun 5 19:26:00 2012
+++ META.in Fri Jul 13 10:31:52 2012
@@ -56,5 +56,5 @@ package "syntax" (
requires = "camlp4, estring"
requires(toploop) = "camlp4, estring, batteries"
archive(syntax, preprocessor) = "pa_strings.cma pa_comprehension.cmo pa_llist.cmo"
- archive(syntax, toploop) = "pa_strings.cma pa_comprehension.cmo pa_llist"
+ archive(syntax, toploop) = "pa_strings.cma pa_comprehension.cmo pa_llist.cmo"
)