Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Unofficial Erlang/OTP FreeBSD Port

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 erlang

(Unofficial) FreeBSD Port for Erlang/OTP

This is an unofficial FreeBSD Port file for Erlang/OTP. The contents are based on the lang/erlang Port available in the FreeBSD Port tree.

This Port is highly experimental.

Current version is for R15B01, tested on 9.0-RELEASE/amd64 and 8.2-RELEASE/i386.


Merged OptionsNG patch at

In this Port parallel make is enabled. (aka MAKE_JOBS_SAFE = true))

USE_OPENSSL for enabling does not seem to work, so it is not explicitly set in the Makefile. The library search path decides what to link, and it seems /usr/local/lib takes precedence over /usr/lib. You can verify which one is linked by objdump -x /usr/local/lib/erlang/lib/crypto-MODULE_VERSION/priv/lib/ and check out the version numbers for*.

Native Libraries compilation flag is now supported; On amd64, however, it does not work on the libraries yet.

DTrace support is a must read for testing DTrace. At least you've got to do the following things:

  • Rebuild the kernel with all the necessary options.
  • Add necessary definitions in make.conf; Erlang BEAM works on the userland.
  • Compile the Port with the root privilege; otherwise dtrace -h won't work.
  • Invoke dtrace command with the root privilege when profiling; using sudo may help. (You don't have to run the target Erlang BEAM privileged BTW.)
Something went wrong with that request. Please try again.