aboutsummaryrefslogtreecommitdiff
path: root/www/ocaml-net/files
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-03-27 00:29:11 +0000
committerJohn Marino <marino@FreeBSD.org>2014-03-27 00:29:11 +0000
commit69ffa6b7d98af9fe10d386a5bfd5ae3d9a0bd500 (patch)
tree24aad827005215e49e3295c5efbd9c555da4f774 /www/ocaml-net/files
parent51bd54d2672673ff994f50f40130cb0797c88582 (diff)
Notes
Diffstat (limited to 'www/ocaml-net/files')
-rw-r--r--www/ocaml-net/files/patch-Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/ocaml-net/files/patch-Makefile b/www/ocaml-net/files/patch-Makefile
new file mode 100644
index 000000000000..28913053ebe5
--- /dev/null
+++ b/www/ocaml-net/files/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.rules,v 1.1 2012/07/06 09:29:14 wiz Exp $
+
+make package work with DESTDIR support
+--- Makefile.rules.orig 2012-02-29 18:02:51.000000000 +0000
++++ Makefile.rules
+@@ -148,7 +148,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: