mosquitto: fix build
[oi-userland.git] / components / ocaml / parmap / patches / 01-install.patch
blob467979a06241e27d815ee286fb77f69a50b2a9e7
1 --- parmap-1.0-rc11/Makefile.in.orig 2020-05-29 00:53:56.990111159 +0000
2 +++ parmap-1.0-rc11/Makefile.in 2020-05-29 00:55:43.149207500 +0000
3 @@ -12,21 +12,11 @@
4 prefix = @prefix@
5 exec_prefix = @exec_prefix@
7 -ifeq ($(DESTDIR),)
8 -LIBDIR=$(shell ocamlfind printconf destdir)
9 -BINDIR=@bindir@
10 -MANDIR=@mandir@/man3
11 -INSTALL = $(OCAMLFIND) install
12 -UNINSTALL = $(OCAMLFIND) remove
13 -else
14 -export OCAMLLIBDIR := lib/ocaml
15 -LIBDIR=$(DESTDIR)/$(OCAMLLIBDIR)
16 -BINDIR=$(DESTDIR)/bin
17 -MANDIR=$(DESTDIR)/man/man3
18 +LIBDIR=$(DESTDIR)/$(shell ocamlfind printconf destdir)
19 +BINDIR=$(DESTDIR)/@bindir@
20 +MANDIR=$(DESTDIR)/@mandir@/man3
21 INSTALL = $(OCAMLFIND) install -destdir $(LIBDIR)
22 UNINSTALL = $(OCAMLFIND) remove -destdir $(LIBDIR)
23 -endif
26 ifeq ("@OCAMLBEST@","opt")
27 OCAMLBEST=native