openbsd-ports/sysutils/findlib/patches/patch-src_findlib_Makefile
chrisz 9a01024b3e - on bytecode-archs build executable without custom runtime
- use /etc/findlib.conf instead of /usr/local/share/examples/findlib.conf.
- add commented out option to enable ocamldoc.opt by default to findlib.conf

OK jasper@, anil@ (maintainer)
2013-01-03 14:30:57 +00:00

13 lines
634 B
Plaintext

$OpenBSD: patch-src_findlib_Makefile,v 1.3 2013/01/03 14:30:57 chrisz Exp $
--- src/findlib/Makefile.orig Mon Jul 9 11:29:16 2012
+++ src/findlib/Makefile Mon Dec 31 13:40:45 2012
@@ -38,7 +38,7 @@ all: ocamlfind$(EXEC_SUFFIX) findlib.cma findlib_top.c
opt: ocamlfind_opt$(EXEC_SUFFIX) findlib.cmxa topfind
ocamlfind$(EXEC_SUFFIX): findlib.cma $(OCAMLFIND_OBJECTS)
- $(OCAMLC) -custom -o ocamlfind$(EXEC_SUFFIX) -g findlib.cma unix.cma \
+ $(OCAMLC) $(CUSTOM) -o ocamlfind$(EXEC_SUFFIX) -g findlib.cma unix.cma \
$(OCAMLC_FLAGS) $(OCAMLFIND_OBJECTS)
ocamlfind_opt$(EXEC_SUFFIX): findlib.cmxa $(OCAMLFIND_XOBJECTS)