summaryrefslogtreecommitdiff
path: root/net/ocamlnet/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/ocamlnet/patches/patch-ab')
-rw-r--r--net/ocamlnet/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/net/ocamlnet/patches/patch-ab b/net/ocamlnet/patches/patch-ab
new file mode 100644
index 00000000000..8d0584562a6
--- /dev/null
+++ b/net/ocamlnet/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2010/01/30 19:43:18 joerg Exp $
+
+--- src/Makefile.rules.orig 2006-03-06 16:59:47.000000000 +0000
++++ src/Makefile.rules
+@@ -92,8 +92,9 @@ uninstall: $(UNINSTOTHER) uninstall-$(IN
+
+ .PHONY: install-findlib
+ install-findlib:
++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}`$(OCAMLC) -where`/site-lib
+ files=`$(COLLECT_FILES) *.mli *.cmi *.cma *.cmxa *.a META $(INSTALL_EXTRA)` && \
+- $(OCAMLFIND) install $(PKGNAME) $$files
++ $(OCAMLFIND) install -destdir ${DESTDIR}`$(OCAMLC) -where`/site-lib $(PKGNAME) $$files
+
+ .PHONY: uninstall-findlib
+ uninstall-findlib: