pkgsrc/devel/ocaml-batteries/patches/patch-Makefile
jaapb 7e5b4d83d3 Package update to version 2.1, including a patch to compile with
ocaml 4.01 (upcoming). Changelog is only available through git,
unfortunately.
2013-11-01 10:32:53 +00:00

17 lines
596 B
Text

$NetBSD: patch-Makefile,v 1.2 2013/11/01 10:32:53 jaapb Exp $
Install into DESTDIR
--- Makefile.orig 2013-07-18 05:02:22.000000000 +0000
+++ Makefile
@@ -88,8 +88,9 @@ man: all batteries.odocl
-mkdir man
ocamlfind ocamldoc -package threads.posix -sort -man -hide-warnings -d man -I _build/libs -I _build/src libs/uniclib.mli src/*.mli
-install: all uninstall_packages
- ocamlfind install $(NAME) $(INSTALL_FILES) \
+install: all
+ ocamlfind install $(NAME) -destdir "${DESTDIR}${PREFIX}/lib/ocaml/site-lib" \
+ $(INSTALL_FILES) \
-optional $(OPT_INSTALL_FILES)
uninstall_packages: