This is an unofficial FreeBSD Port file for Erlang/OTP.
The contents are based on the
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 http://www.freebsd.org/cgi/query-pr.cgi?pr=169355.
In this Port parallel make is enabled. (aka
MAKE_JOBS_SAFE = true))
USE_OPENSSL for enabling
bsd.openssl.mk does not seem to work,
so it is not explicitly set in the
The library search path decides what to link,
and it seems
/usr/local/lib takes precedence over
You can verify which one is linked by
objdump -x /usr/local/lib/erlang/lib/crypto-MODULE_VERSION/priv/lib/crypto.so
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.
http://wiki.freebsd.org/DTrace 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
dtrace -hwon't work.
dtracecommand with the
rootprivilege when profiling; using
sudomay help. (You don't have to run the target Erlang BEAM privileged BTW.)