pkgsrc/net/erlang-esip/patches/patch-rebar.config
fhajny 908fd53f9e Update net/erlang-esip to 1.0.10.
Version 1.0.10
- Use stun 1.0.9
- Use fast_tls 1.0.9

Version 1.0.9
- Use p1_utils 1.0.6
- Make sure esip_codec isn't compiled to native code
- Update fast_tls and stun
2017-01-03 18:33:32 +00:00

26 lines
907 B
Text

$NetBSD: patch-rebar.config,v 1.4 2017/01/03 18:33:32 fhajny Exp $
Deps are handled by pkgsrc.
Look up stun includes properly.
--- rebar.config.orig 2016-02-03 11:19:15.000000000 +0000
+++ rebar.config
@@ -22,17 +22,13 @@
{erl_opts, [debug_info, {src_dirs, ["src"]},
{i, "include"},
- {i, "deps/stun/include"},
+ {i, "@LOCALBASE@/lib/erlang/lib/stun/include"},
{i, "../stun/include"}]}.
{port_env, [{"CFLAGS", "$CFLAGS"}, {"LDFLAGS", "$LDFLAGS"}]}.
{port_specs, [{"priv/lib/esip_drv.so", ["c_src/esip_codec.c"]}]}.
-{deps, [{stun, ".*", {git, "https://github.com/processone/stun", {tag, "1.0.9"}}},
- {fast_tls, ".*", {git, "https://github.com/processone/fast_tls", {tag, "1.0.9"}}},
- {p1_utils, ".*", {git, "https://github.com/processone/p1_utils", {tag, "1.0.6"}}}]}.
-
{clean_files, ["c_src/esip_codec.gcda", "c_src/esip_codec.gcno"]}.
{cover_enabled, true}.