Erlang is a programming language used to build massively scalable soft
real-time systems with requirements on high availability. Some of its
uses are in telecoms, banking, e-commerce, computer telephony and
instant messaging. Erlang's runtime system has built-in support for
concurrency, distribution and fault tolerance.
This port contains a standalone runtime environment of Erlang 20
to be used during the development of OTP applications.
WWW: https://www.erlang.org/
===> The following configuration options are available for erlang-runtime20-20.3.8.26_5:
DIRTY=on: Enable Dirty schedulers
DTRACE=on: Build with DTrace probes
HIPE=on: Build native HiPE compiler
JAVA=off: Java platform support
KQUEUE=on: Enable Kernel Poll (kqueue) support
NATIVE=off: Enable native libraries
ODBC=off: ODBC database backend
OPENSSL=on: SSL/TLS support via OpenSSL
SCTP=on: Enable SCTP support
THREADS=on: Threading support
WX=off: Enable WX application
===> Use 'make config' to modify these settings
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824
lang/erlang*: include serious scheduler bugfixes
OTP-16371
Taking a scheduler offline could cause timers set while executing on
that scheduler to be delayed until the scheduler was put online again.
This bug was introduced in ERTS version 10.0 (OTP 21.0).
OTP-16378 | ERL-1125
The ets:update_counter/4 core dumped when given an ordered_set with
write_concurrency enabled and an invalid position.
OTP-16379
A process calling erlang:system_flag(multi_scheduling, block) could end
up blocked waiting for the operation to complete indefinitely.
Reviewed by: olgeni
MFH: 2020Q1
Sponsored by: SkunkWerks, GmbH
Differential Revision: https://reviews.freebsd.org/D23313
lang/erlang*: repair 32-bit x86 erlang builds
Having HIPE & NATIVE enabled breaks OTP on 32-bit x86. They have not
built succesfully for quite some time.
Reported by: pkg fallout
Reviewed by: olgeni
Sponsored by: SkunkWerks, GmbH
Differential Revision: https://reviews.freebsd.org/D23296
Disable DTRACE on powerpc64-CURRENT. It is known not to link on elfv2.
Rather than conditionalize the inclusion on elfv2, I am asssuming the
userbase of erlang on powerpc64-CURRENT is still tiny. Effort would
better be spent on investigating the general problem on powerpc64.
PR: 240458240461240501240502
Submitted by: pkubaj
Approved by: erlang (maintainer-timeout, > 2 weeks)
HIPE option causes a build failure on powerpc64, so disable it on this
platform.
PR: 233297
Submitted by: Piotr Kubaj
Approved by: portmgr (tier-2 blanket)
Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by: rene
Reviewed by: bapt, jbeich
Differential Revision: https://reviews.freebsd.org/D17724
lang/erlang-runtime{20,21}: Add patch to fix build on i386
Those two ports fail to build on FreeBSD/i386 (all versions) for quite
some time. The Erlang/OTP team provided a patch after Dewayne Geraghty
reported the issue upstream.
Here is the entry in the Erlang/OTP bug tracker:
https://bugs.erlang.org/browse/ERL-677
The patch was successfully tested on FreeBSD 10.4 and 11.1, both i386
and amd64. Dewayne also confirmed success on FreeBSD 11.2.
PR: 229600
Reported by: Dewayne Geraghty <dewayne@heuristicsystems.com.au>
Obtained from: https://bugs.erlang.org/browse/ERL-677
MFH: 2018Q3
Modernization of Erlang ports:
- Convert all ports to options helpers
- Add MANPAGES option to lang/erlang
- Remove HTML and PDF documentation from lang/erlang (went into erlang-doc)
- Remove APP_UPGRADE code because of the doc split
- Reduce diffs between all Makefiles
- Enable dirty schedulers by default on version 20
- Non-SMP beam is deprecated on version 20, so enable SMP unconditionally
Disable dtrace usdt on armvX to fix builds on those platforms (as was already
done for aarch64). Change is harmless on amd64.
While here, sort OPTIONS.
PR: 224271
Submitted by: mikael.urankar
Approved by: portmgr (tier-2 blanket)
Update lang/erlang-runtime20 to version 20.1.3.
At this point we need a tarball with some precompiled beam files,
because precompiled files are committed to git by upstream.
For ports that are explicitly enabled on armv6, also enable them
on armv7. This has not been tested with an -exp run but should
"do no harm".
PR: 221894 (partial)