pkgsrc/devel/ocaml-batteries/patches/patch-Makefile
jaapb 020fb38313 Added package devel/ocaml-batteries, version 2.0. This is an alternative
standard library for OCaml ("consistent, documented and comprehensive").
2013-07-03 10:40:33 +00:00

15 lines
569 B
Text

$NetBSD: patch-Makefile,v 1.1 2013/07/03 10:40:33 jaapb Exp $
Install into DESTDIR
--- Makefile.orig 2013-01-03 19:39:03.000000000 +0000
+++ Makefile
@@ -88,7 +88,8 @@ man: all batteries.odocl
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) \
+ ocamlfind install $(NAME) -destdir "${DESTDIR}${PREFIX}/lib/ocaml/site-lib" \
+ $(INSTALL_FILES) \
-optional $(OPT_INSTALL_FILES)
uninstall_packages: