ports/devel/ocaml-parmap/files/patch-Makefile.in
Jean-Sébastien Pédron d416afd219 devel/ocaml-parmap: New port for the "parmap" OCaml module
This module is used by Coccinelle (devel/coccinelle).

Differential Revision:	https://reviews.freebsd.org/D2925
Reviewed by:	kwm
Approved by:	kwm
2015-06-27 13:47:04 +00:00

15 lines
494 B
Text

--- Makefile.in.orig 2015-02-09 10:42:28 UTC
+++ Makefile.in
@@ -20,9 +20,9 @@ INSTALL = $(OCAMLFIND) install
UNINSTALL = $(OCAMLFIND) remove
else
export OCAMLLIBDIR := lib/ocaml
-LIBDIR=$(DESTDIR)/$(OCAMLLIBDIR)
-BINDIR=$(DESTDIR)/bin
-MANDIR=$(DESTDIR)/man/man3
+LIBDIR=$(DESTDIR)$(prefix)/$(OCAMLLIBDIR)
+BINDIR=$(DESTDIR)$(exec_prefix)/bin
+MANDIR=$(DESTDIR)$(prefix)/man/man3
INSTALL = $(OCAMLFIND) install -destdir $(LIBDIR)
UNINSTALL = $(OCAMLFIND) remove -destdir $(LIBDIR)
endif