From 75bd59ff0e66e25233caad0eff4064a480f40aed Mon Sep 17 00:00:00 2001 From: olgeni Date: Tue, 12 Jul 2016 14:27:10 +0000 Subject: Patch devel/erlang-cuttlefish for upcoming Erlang 19. --- devel/erlang-cuttlefish/files/patch-rebar.config | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/devel/erlang-cuttlefish/files/patch-rebar.config b/devel/erlang-cuttlefish/files/patch-rebar.config index 8a30317..7749b4f 100644 --- a/devel/erlang-cuttlefish/files/patch-rebar.config +++ b/devel/erlang-cuttlefish/files/patch-rebar.config @@ -1,6 +1,12 @@ ---- rebar.config.orig 2016-07-07 11:03:52 UTC +--- rebar.config.orig 2016-07-06 13:44:53 UTC +++ rebar.config -@@ -12,9 +12,6 @@ +@@ -1,4 +1,4 @@ +-{require_otp_vsn, "R16|17|18"}. ++{require_otp_vsn, "R16|17|18|19"}. + + {erl_opts, [warnings_as_errors, {parse_transform, lager_transform}, debug_info, warn_untyped_record]}. + +@@ -12,12 +12,9 @@ {xref_queries, [{"(XC - UC) || (XU - X - B - \"(rebar.*|mustache)\" : Mod)", []}]}. {deps, [ @@ -10,3 +16,7 @@ ]}. {post_hooks, [ + {"-win32", compile, "rebar escriptize"}, +- {"^((?!-win32).)*$", compile, "./rebar escriptize"} ++ {"^((?!-win32).)*$", compile, "/usr/local/bin/rebar escriptize"} + ]}. -- cgit v1.1