diff options
Diffstat (limited to 'security/ocaml-ssl/patches/patch-src_Makefile')
-rw-r--r-- | security/ocaml-ssl/patches/patch-src_Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/security/ocaml-ssl/patches/patch-src_Makefile b/security/ocaml-ssl/patches/patch-src_Makefile new file mode 100644 index 00000000000..3c4ce5d1152 --- /dev/null +++ b/security/ocaml-ssl/patches/patch-src_Makefile @@ -0,0 +1,15 @@ +$NetBSD: patch-src_Makefile,v 1.1 2012/07/14 21:23:49 wiz Exp $ + +Fix ocamlfind installation procedure w/r/t DESTDIR +--- src/Makefile.in.orig 2011-03-01 07:57:16.000000000 +0000 ++++ src/Makefile.in +@@ -53,7 +53,8 @@ opt: native-code-library + native-code-library: byte-code-library + + install: +- $(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) $(RESULT) META $(LIBINSTALL_FILES) ++ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}`ocamlc -where`/site-lib ++ $(OCAMLFIND) install -ldconf /dev/null -destdir ${DESTDIR}`ocamlc -where`/site-lib $(OCAMLFIND_INSTFLAGS) $(RESULT) META $(LIBINSTALL_FILES) + + uninstall: + $(OCAMLFIND) remove $(OCAMLFIND_INSTFLAGS) $(RESULT) |