diff options
Diffstat (limited to 'dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch')
-rw-r--r-- | dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch b/dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch new file mode 100644 index 000000000000..5c68c0c15a2d --- /dev/null +++ b/dev-ml/ocamlgraph/files/ocamlgraph-0.99b-installfindlib.patch @@ -0,0 +1,21 @@ +Index: ocamlgraph-0.99b/Makefile.in +=================================================================== +--- ocamlgraph-0.99b.orig/Makefile.in ++++ ocamlgraph-0.99b/Makefile.in +@@ -208,10 +208,14 @@ install-byte: + install-opt: install-byte + cp -f graph$(LIBEXT) graph.cmx $(CMXA) "$(OCAMLLIB)" + ++ifneq ($(OCAMLOPT),no) ++INSTALL_OPT=graph$(LIBEXT) graph.cmx $(CMXA) ++endif ++ + install-findlib: META + ifdef OCAMLFIND +- $(OCAMLFIND) install ocamlgraph META *.mli \ +- graph$(LIBEXT) graph.cmx graph.cmo graph.cmi $(CMA) $(CMXA) ++ $(OCAMLFIND) install ocamlgraph META src/*.mli lib/*.mli \ ++ $(INSTALL_OPT) graph.cmo graph.cmi $(CMA) + endif + + # documentation |