$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)