ports/lang/js_of_ocaml/files/patch-Makefile
Johan van Selst 90bd07c953 Update js_of_ocaml to version 2.5
All the hard work for this update was done by John Marnino,
but any bugs will be mine

Submitted by:	marino
2015-05-17 13:04:26 +00:00

11 lines
511 B
Text

--- Makefile.orig 2014-09-30 14:40:37 UTC
+++ Makefile
@@ -47,7 +47,7 @@ VERSION := $(shell head -n 1 VERSION)
install: install-lib install-bin
install-lib:
- ocamlfind install -patch-version ${VERSION} $(LIBRARY) lib/META $(INTF) $(IMPL) $(OTHERS) $(DOC) $(COMP_INTF) $(COMP_IMPL)
+ ocamlfind install -ldconf ignore -destdir ${DESTDIR}${OCAML_SITELIBDIR} -patch-version ${VERSION} $(LIBRARY) lib/META $(INTF) $(IMPL) $(OTHERS) $(DOC) $(COMP_INTF) $(COMP_IMPL)
install-bin:
install -d -m 755 $(BINDIR)