=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for lua51-term-0.07
clang -O2 -I/opt/pkg/include/lua-5.1 -Wall -pedantic -I/opt/pkg/include/lua-5.1 -fPIC -I/opt/pkg/include/lua-5.1  -c -o core.o core.c
ln -s core.so.1.0.1 core.so.1
ln -s core.so.1 core.so
clang -bundle -undefined dynamic_lookup -L/opt/pkg/lib -L/usr/lib -shared -o core.so.1.0.1  core.o -lc
clang: error: invalid argument '-bundle' not allowed with '-dynamiclib'
gmake: *** [Makefile:29: core.so.1.0.1] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /opt/pkgsrc/devel/lua-term
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/devel/lua-term