freebsd-ports/devel/erlang-cuttlefish/files/patch-src_cuttlefish__escript.erl
Jimmy Olgeni 683f166185 Sorting out some Erlang stuff:
- Rename a few Erlang-related ports using the erlang- prefix; it will avoid
  confusion with elixir- ports.
- Remove DOCS and EXAMPLES where not actually useful.
- Simplify RUN_DEPENDS where possible.
- Move textproc/exmpp to devel/erlang-exmpp.
- Add missing R18 compatibility fix for devel/erlang-oserl.
- Upgrade erlang-cuttlefish to 2.0.3.

The idea is that libraries ("deps") have the "erlang-" prefix, while larger
projects (rabbitmq, yaws, couchdb, etc) keep their usual names.
2015-06-27 12:54:11 +00:00

11 lines
720 B
Erlang

--- src/cuttlefish_escript.erl.orig 2015-05-20 11:41:20 UTC
+++ src/cuttlefish_escript.erl
@@ -34,7 +34,7 @@ cli_options() ->
%% Option Name, Short Code, Long Code, Argument Spec, Help Message
[
{help, $h, "help", undefined, "Print this usage page"},
- {etc_dir, $e, "etc_dir", {string, "/etc"}, "etc dir"},
+ {etc_dir, $e, "etc_dir", {string, "%%LOCALBASE%%/etc"}, "etc dir"},
{dest_dir, $d, "dest_dir", string, "specifies the directory to write the config file to"},
{dest_file, $f, "dest_file", {string, "app"}, "the file name to write"},
{schema_dir, $s, "schema_dir", string, "a directory containing .schema files"},