aboutsummaryrefslogtreecommitdiffstats
path: root/www/ocaml-net/files/patch-Makefile.rules
blob: d67668fdbba600c09c0933bb0d0465f6c374c87f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- Makefile.rules.orig 2015-04-26 23:27:28 UTC
+++ Makefile.rules
@@ -155,7 +155,8 @@ realuninstall: $(UNINSTOTHER) uninstall-
 .PHONY: install-findlib
 install-findlib: META
    files=`$(COLLECT_FILES) *.mli *.cmi *.cma *.cmxa *.a dll* META $(INSTALL_EXTRA)` && \
-   $(OCAMLFIND) install $(PKGNAME) $$files
+   $(OCAMLFIND) install -destdir $(DESTDIR)/$(PREFIX)/lib/ocaml/site-lib \
+   -ldconf /dev/null $(PKGNAME) $$files
 
 .PHONY: uninstall-findlib
 uninstall-findlib: