Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / ocaml-ssl / patches / patch-src_Makefile
blob2c3c0a81e93af7e3baa670059baa72c9953493c3
1 $NetBSD$
3 Fix ocamlfind installation procedure w/r/t DESTDIR
4 --- src/Makefile.in.orig        2011-03-01 07:57:16.000000000 +0000
5 +++ src/Makefile.in
6 @@ -53,7 +53,8 @@ opt: native-code-library
7  native-code-library: byte-code-library
8  
9  install:
10 -       $(OCAMLFIND) install $(OCAMLFIND_INSTFLAGS) $(RESULT) META $(LIBINSTALL_FILES)
11 +       ${BSD_INSTALL_DATA_DIR} ${DESTDIR}`ocamlc -where`/site-lib
12 +       $(OCAMLFIND) install -ldconf /dev/null -destdir ${DESTDIR}`ocamlc -where`/site-lib $(OCAMLFIND_INSTFLAGS) $(RESULT) META $(LIBINSTALL_FILES)
14  uninstall:
15         $(OCAMLFIND) remove $(OCAMLFIND_INSTFLAGS) $(RESULT)