security/libressl-devel features the new LibreSSL 2.7, which introduced compatibility with most of OpenSSL 1.1 and 1.0.2 APIs. Consequently, the patch as it stands in this port fails to detect such and treats all LibreSSL as OpenSSL < 1.1.
This updated patch fixes the build. Throwing it up in Phabricator shortly.
Forgot to mention, testport succeeds with all supported values of ssl= in DEFAULT_VERSIONS.
Add link to upstream bug report https://sourceforge.net/p/trousers/bugs/222/
A commit references this bug:
Date: Sat Apr 21 20:38:38 UTC 2018
New revision: 467906
security/trousers: Fix build with LibreSSl 2.7
- LibreSSL 2.7 adds OpenSSL 1.1 API
Approved by: maintainer time-out