BSD Ports

lang/erlang 25.3.2.20_1,4 MidnightBSD

Functional programming language from Ericsson

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
c5f1873da8
License
Apache-2.0
Categories
lang, parallel, java

Description

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.

In the other systems

SystemPortVersion
MidnightBSDlang/erlang25.3.2.20_1,4
FreeBSDlang/erlang28.5.0.8,4
NetBSDlang/erlang27.3.4.7
DragonFlylang/erlang25.3.2.7_1,4
HardenedBSDlang/erlang28.5.0.7,4
GhostBSDlang/erlang28.5.0.6,4

Install

Binary package:

mport install erlang

From mports:

cd /usr/mports/lang/erlang && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	erlang>0:lang/erlang

Dependencies

Configuration

Options name: lang_erlang

OptionDefaultDescription
CHUNKSonEnable in-line documentation in Erlang console
CORBAonEnable Corba support
DIRTYonEnable dirty schedulers
DTRACEoff
FOPoffBuild full documentation with Apache FOP
JAVAoff
KQUEUEonEnable Kernel Poll (kqueue) support
MANPAGESon
ODBCoff
OPENSSLon
PDFoffBuild PDF documentation
SCTPonEnable SCTP support
SHARINGoffEnable term copy-and-share support
WXoffEnable WX application
USES
autoreconf:build compiler:c11 cpe gmake ncurses perl5
Service scripts
epmd

Files

pkg-plist 12
  • bin/ct_run
  • bin/dialyzer
  • bin/epmd
  • bin/erl
  • bin/erl_call
  • bin/erlc
  • bin/escript
  • bin/run_erl
  • bin/snmpc
  • bin/to_erl
  • bin/typer
  • etc/man.d/erlang.conf
distinfo 2
FileSizeSHA256
erlang/erlang-otp-OTP-25.3.2.20_GH0.tar.gz6.0969676e+07513bd9d2fc9c792984314feead5d971bb19e6ee531b4e208d4d4fd30774523f6
erlang/erlang-corba-5.1_GH0.tar.gz1.392861e+0603497d71098c474b330794dd523ef19ef20a47c0e2d441009d6cf929455c468f

Commit history 1

DateCommitCreditsLog message
c5f1873da8 Lucas Holt lang/erlang: let os_mon and public_key run on MidnightBSD (#1837)
`os:type()` reports `{unix, midnightbsd}`, which OTP doesn't recognize. This is the same fix as #1835 (lang/erlang-runtime28), found when databases/couchdb3 (#1836) aborted at startup. **Problems on stock OTP:** - `disksup`, `memsup` and `cpu_sup` exit with `{unsupported_os, {unix, midnightbsd}}`, which kills the `os_mon` application and anything that depends on it. - `public_key:cacerts_get()` returned `{failed_load_cacerts, enotsup}` instead of reading the BSD paths (`/etc/ssl/cert.pem`, the ca_root_nss bundle), so TLS clients using the OS store failed. - `inet_config` skips `/etc/host.conf`. **Fix:** each `os_mon` module gets an `mbsd_os_type()` helper that maps midnightbsd to freebsd, used in place of `os:type()`. The other modules …