The port fails to build with BUNDLED_SSL enabled and LibreSSL installed. However, it builds with BUNDLED_SSL enabled if LibreSSL is not on the system, or if security/openssl is installed.
Look at the Makefile: .if empty(PORT_OPTIONS:MBUNDLED_SSL) .if defined(OPENSSL_PORT) && (${OPENSSL_PORT} == "security/libressl" || ${OPENSSL_PORT} == "security/libressl-devel") IGNORE= cannot build node.js with LibreSSL. You must enable BUNDLED_SSL .endif .endif
(In reply to w.schwarzenfeld from comment #1) Yes, the build fails with BUNDLED_SSL enabled as per that warning.
I think the conditional should changed from .if defined(OPENSSL_PORT) && (${OPENSSL_PORT} == "security/libressl" || ${OPENSSL_PORT} == "security/libressl-devel") to .if (${SSL_DEFAULT} == "libressl" || ${SSL_DEFAULT} == "libressl-devel")
FYI, I have a patch that should fix this in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210618. Thanks for the report. :)
Closing; maintainer fixed issue per bug #210618. Port now builds under specified conditions. Thanks!