While the port has LD_LIBMAP to fix the following error for out-of-ports builds bootstrap compiler needs to be rebuilt.
Using compiled compiler at `.build/crystal'
Shared object "libevent-2.1.so.6" not found, required by "crystal"
gmake: *** [Makefile:123: .build/crystal] Error 1
hm, wait — out-of-ports builds, with the bootstrap compiler? Why use the bootstrap compiler out of ports?
Bootstraps will be rebuilt for the next version upgrade, but that's currently on hold due to LLVM bugs..
Version update in Bug 243276
A commit references this bug:
Date: Sun Jan 12 02:18:02 UTC 2020
New revision: 522742
lang/crystal: update to 0.32.1
- Switch to devel/llvm90
- Drop r507877 workaround
- Drop separate bootstrap for FreeBSD 11
PR: 239603 243276
Submitted by: Greg V (maintainer)