ports/devel/ocaml-result/files/patch-Makefile
Alexey Dokuchaev f3eb226bee devel/ocaml-result: update the port to version 1.5
- Now builds itself using Dune (devel/ocaml-dune)
- Drop reference to Pervasives; it is deprecated
- Result is an alias to Stdlib.Result on OCaml 4.08+

Reported by:	portscout (a while ago)
2021-09-23 09:11:34 +00:00

8 lines
211 B
Text

--- Makefile.orig 2020-02-20 07:48:47 UTC
+++ Makefile
@@ -1,4 +1,5 @@
INSTALL_ARGS := $(if $(PREFIX),--prefix $(PREFIX),)
+INSTALL_ARGS += $(if $(LIBDIR),--libdir $(LIBDIR),)
default:
dune build @install