Elixir is a functional, meta-programming aware language built on top of the
Erlang VM. It is a dynamic language that focuses on tooling to leverage
Erlang's abilities to build concurrent, distributed and fault-tolerant
applications with hot code upgrades.
===> The following configuration options are available for elixir-1.19.6:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
Elixir requires a compatible Erlang/OTP runtime. Ensure that you have
one of the following installed:
- lang/erlang
- lang/erlang-runtime24 or newer
If upgrading
Elixir requires a compatible Erlang/OTP runtime. Ensure that you have
one of the following installed, as you prefer:
- lang/erlang
- lang/erlang-runtime25 or newer
*/*: Use C.UTF-8 locale
Ports 02f27a83b44d fixed the ports tree to the C locale so it would work
correctly in environments where users use a locale that isn't compatible
with the C locale, e.g. xx_YY.UTF-8 where [A-Z] includes more than just
upper case letters. USE_LOCALE was introduced to let ports use another
locale if they needed it. The C.UTF-8 locale was created later on to be
mostly compatible with the C locale.
Switch the ports tree locale to C.UTF-8 and remove USE_LOCALE. The
world has moved to Unicode so all ports either require it or know how to
build correctly in a Unicode environment.
PR: 295945
Exp-run by: antoine
lang/elixir: update to 1.14.5 to support OTP26
- ChangeLog https://github.com/elixir-lang/elixir/releases/tag/v1.14.5
To use with OTP26, install lang/erlang-runtim26 and prepend
/usr/local/lib/erlang26/bin to your path.
Sponsored by: SkunkWerks, GmbH
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
lang: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alex Dupre <ale@FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alonso Cardenas Marquez <acm@FreeBSD.org>
* Andreas Klemm <andreas@klemm.gtn.com>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Andrey Zakhvatov
* Anton Berezin <tobez@FreeBSD.org>
* Anton Berezin <tobez@tobez.org>
(Only the first 15 lines of the commit message are shown above )
Fix CONFLICTS entries of multiple ports
There have been lots of missing CONFLICTS_INSTALL entries, either
because conflicting ports were added without updating existing ports,
due to name changes of generated packages, due to mis-understanding
the format and semantics of the conflicts entries, or just due to
typoes in package names.
This patch is the result of a comparison of all files contained in
the official packages with each other. This comparison was based on
packages built with default options and may therefore have missed
further conflicts with optionally installed files.
Where possible, version numbers in conflicts entries have been
generalized, some times taking advantage of the fact that a port
(Only the first 15 lines of the commit message are shown above )
lang/elixir: Update to 1.6.6
Release notes:
https://github.com/elixir-lang/elixir/releases/tag/v1.6.6
In particular, this is the first version to officially support
Erlang/OTP 21.0.
Other changes not related to the new upstream version are:
* `USES=` is moved before `USE_GITHUB` to fix a warning reported by
portlint(1).
The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user. Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables. LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well. The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.
Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).
PR: 215882
Exp-run by: antoine
Approved by: portmgr (antoine)
Couple of fixes:
- Make sure that the right Docs.zip is fetched, by changing DIST_SUBDIR.
- Put the new source files under the conditional %%SRC%% in plist.
Add documentation (DOCS option).
- Switch to using pkg-plist rather than automatically generate it
(it is easy enough to maintain).
- Switch to modern option helpers.
- Set DIST_SUBDIR due to version-less Docs.zip file.
Add support for ELIXIR_HIDDEN, a regular expression that matches
applications in Elixir's lib and hides them from the actual code
path.
It will be used by ports to hide their own (already installed) files
in lib/ during the builds, and avoid unnecessary warnings.
- Set LANG=en_US.UTF-8 in MAKE_ENV, because sometimes Elixir will
complain about not having an UTF-8 locale when building in
poudriere (which may affect binary packages).
- Install source files (with a SRC option, default on), which can
then be used by Emacs' alchemist-mode.el to provide a working
"go to source" function.
- Remove pkg-plist, which is now mostly auto-generated.
PR: 201125
Submitted by: olgeni