1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/Mk
Jimmy Olgeni d8d24faf9c In elixir.mk, add MIX_REWRITE and ELIXIR_LIB_ROOT.
ELIXIR_LIB_ROOT is the default Elixir library path in LOCALBASE.

If MIX_REWRITE is defined, all optional dependencies will be stripped
out (test, doc, etc.), while all required libs will be converted to
actual code paths in ELIXIR_LIB_ROOT.

For example, it will turn the following dependency definitions:

 defp deps do
    [
      { :inflex, "~> 1.0" },
      { :estree, "~> 2.0" },
      { :shouldi, only: :test },
      { :earmark, "~> 0.1", only: :dev },
      { :ex_doc, "~> 0.7", only: :dev }
    ]
  end

into these:

  defp deps do
    [
      { :inflex, path: "/usr/local/lib/elixir/lib/inflex", compile: false },
      { :estree, path: "/usr/local/lib/elixir/lib/estree", compile: false },
    ]
  end

Setting MIX_REWRITE allows escriptize to bundle all dependencies in the
script, else it will not be able to pull them from the usual code path.

It already works for all Elixir ports and should make patches to mix.exs
unnecessary, but for now the default is off.

Sneak in a whitespace fix while I'm here.
2015-07-14 23:05:31 +00:00
..
Scripts - Add /usr/sbin/dtrace to the list of allowed shebangs 2015-07-14 20:36:01 +00:00
Uses In elixir.mk, add MIX_REWRITE and ELIXIR_LIB_ROOT. 2015-07-14 23:05:31 +00:00
bsd.apache.mk Fix static modules in www/apache24 2015-07-14 22:34:53 +00:00
bsd.autotools.mk Mark USE_AUTOTOOLS deprecated and remove support for libtoolize. 2015-04-19 18:16:40 +00:00
bsd.ccache.mk Let WITH_CCACHE_BUILD work on the pkg port that is not PKG_ORIGIN. 2015-04-14 20:58:26 +00:00
bsd.commands.mk Introduce a BSDMAKE?= /usr/bin/make and use it as the default MAKE_CMD. 2015-03-23 04:03:00 +00:00
bsd.database.mk Remove trace of PostgreSQL in comment 2015-06-30 12:53:42 +00:00
bsd.default-versions.mk Change the default Perl to 5.20. 2015-05-13 10:20:18 +00:00
bsd.destdir.mk - Fix DESTDIR support. 2014-09-08 20:44:21 +00:00
bsd.emacs.mk GNU Emacs Updates 2015-04-27 10:28:00 +00:00
bsd.fpc.mk The lazarus GTK1 interface has been discontinued upstream: 2015-07-14 20:16:29 +00:00
bsd.gcc.mk Since there is not going to be any new version of GCC in the FreeBSD 2015-04-22 21:29:21 +00:00
bsd.gecko.mk Convert to USES=jpeg 2015-06-22 18:33:20 +00:00
bsd.gnome.mk Add build/run depend lines for dconf. 2015-07-14 13:19:24 +00:00
bsd.gstreamer.mk Big Gstreamer update: 2014-12-16 13:35:01 +00:00
bsd.java.mk
bsd.kde4.mk Update KDE SC to 4.14.3 2015-03-11 23:11:47 +00:00
bsd.ldap.mk
bsd.licenses.db.mk
bsd.licenses.mk Register license files with absolute path 2014-09-23 12:42:00 +00:00
bsd.linux-apps.mk Finish r385284 (audio/linux-c6-sdl_mixer: update to 1.2.12) 2015-05-04 12:35:17 +00:00
bsd.linux-rpm.mk Add USE_LINUX_RPM_BAD_PERMS 2015-06-04 21:07:06 +00:00
bsd.local.mk
bsd.mate.mk Update bsd.mate.mk has it should have been 2014-09-10 13:53:26 +00:00
bsd.ocaml.mk - Add USE_OCAML_CAMLP4 and USE_OCAML_TK to bsd.ocaml.mk which add 2015-05-04 15:46:51 +00:00
bsd.octave.mk - Add variable assignments to make_args. 2015-01-23 03:18:29 +00:00
bsd.openssl.mk security/libressl: Update to 2.2.1 2015-07-08 19:27:47 +00:00
bsd.options.desc.mk - Add shared WOLFSSL description 2015-04-25 10:01:44 +00:00
bsd.options.mk Introduce target option helpers. 2015-07-01 12:11:16 +00:00
bsd.php.mk Use INSTALL_LIB to install php extensions, so they'll be correctly stripped. 2015-02-24 15:05:17 +00:00
bsd.port.mk Rewite CLEAN-DEPENDS* 2015-07-04 08:56:54 +00:00
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk Use .sinclude when possible. 2015-06-13 02:46:52 +00:00
bsd.qt.mk Add www/qt5-websockets. 2015-06-11 11:59:55 +00:00
bsd.ruby.mk Update Ruby to latest versions to address CVE-2015-1855. 2015-04-14 00:35:59 +00:00
bsd.sanity.mk Remove NEED_ROOT, the last customer has been modified to be able to properly 2015-06-04 19:32:29 +00:00
bsd.sdl.mk
bsd.sites.mk Rename a few internal multi-USE_GITHUB variables, to ease usage. 2015-06-30 13:33:36 +00:00
bsd.ssp.mk - Enable SSP by default. 2014-11-02 20:01:31 +00:00
bsd.tex.mk Replace @dirrmtry by @dir in theory we should be able to remove it entirely but 2015-06-20 17:15:32 +00:00
bsd.wx.mk
bsd.xorg.mk Misc X.org port updates: 2015-04-18 15:34:36 +00:00