27 lines
907 B
Plaintext
27 lines
907 B
Plaintext
$NetBSD: patch-rebar.config,v 1.3 2016/08/12 10:02:59 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.7"}}},
|
|
- {fast_tls, ".*", {git, "https://github.com/processone/fast_tls", {tag, "1.0.7"}}},
|
|
- {p1_utils, ".*", {git, "https://github.com/processone/p1_utils", {tag, "1.0.5"}}}]}.
|
|
-
|
|
{clean_files, ["c_src/esip_codec.gcda", "c_src/esip_codec.gcno"]}.
|
|
|
|
{cover_enabled, true}.
|