summaryrefslogtreecommitdiff
path: root/devel/ocaml-result/files/patch-Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-09-23 09:11:32 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-09-23 09:11:34 +0000
commitf3eb226bee50d4694718de396087d3f968d4d74c (patch)
tree3c6e525d88d7781698da8985ef1727a727c138c8 /devel/ocaml-result/files/patch-Makefile
parentmath/blahtexml: New port: TeX to MathML converter designed with MediaWiki in ... (diff)
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)
Diffstat (limited to 'devel/ocaml-result/files/patch-Makefile')
-rw-r--r--devel/ocaml-result/files/patch-Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/devel/ocaml-result/files/patch-Makefile b/devel/ocaml-result/files/patch-Makefile
new file mode 100644
index 000000000000..019f1667220f
--- /dev/null
+++ b/devel/ocaml-result/files/patch-Makefile
@@ -0,0 +1,8 @@
+--- 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