SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
lang/elixir/patches/patch-bin_elixir
Normal file
16
lang/elixir/patches/patch-bin_elixir
Normal file
|
@ -0,0 +1,16 @@
|
|||
Detect erlang ERTS directory at runtime.
|
||||
|
||||
Index: bin/elixir
|
||||
--- bin/elixir.orig
|
||||
+++ bin/elixir
|
||||
@@ -225,7 +225,9 @@ fi
|
||||
|
||||
# One MAY change ERTS_BIN= but you MUST NOT change
|
||||
# ERTS_BIN=$ERTS_BIN as it is handled by Elixir releases.
|
||||
-ERTS_BIN=
|
||||
+for obsd_erts in ${LOCALBASE}/lib/erlang${MODERL_VERSION}/erts-*; do
|
||||
+ ERTS_BIN="$obsd_erts/bin/";
|
||||
+done
|
||||
ERTS_BIN="$ERTS_BIN"
|
||||
|
||||
set -- "$ERTS_BIN$ERL_EXEC" -noshell -elixir_root "$SCRIPT_PATH"/../lib -pa "$SCRIPT_PATH"/../lib/elixir/ebin $ELIXIR_ERL_OPTIONS -s elixir start_$MODE $ERL "$@"
|
Loading…
Add table
Add a link
Reference in a new issue