security/openvpn does not compile in 14-CURRENT w/ poudriere

From: Matthias Apitz <guru_at_unixarea.de>
Date: Tue, 15 Aug 2023 06:16:38 UTC
security/openvpn fails to build with an error message in the log:

...
libc.so.7
libcrypto.so.11
libcrypto.so.30
libdl.so.1
liblz4.so.1
liblzo2.so.2
libnv.so.1
libpkcs11-helper.so.1
libssl.so.11
libthr.so.3
/usr/ports/security/openvpn FAILED: either of libssl libcrypto libraries linked multiple times
*** Error code 1

The full log is at http://www.unixarea.de/openvpn-2.6.5.log

The job uses via make.conf the SSL from the base:

---Begin OPTIONS List---
===> The following configuration options are available for openvpn-2.6.5:
     ASYNC_PUSH=off: Enable async-push support
     DCO=on: Build with Data Channel Offload (ovpn(4)) support
     DOCS=on: Build and/or install documentation
     EASYRSA=on: Install security/easy-rsa RSA helper package
     EXAMPLES=on: Build and/or install examples
     LZ4=on: LZ4 compression support
     LZO=on: LZO compression (incompatible with LibreSSL)
     PKCS11=on: Use security/pkcs11-helper, needs same SSL lib!
     SMALL=off: Build a smaller executable with fewer features
     TEST=on: Build and/or run tests
     UNITTESTS=off: Enable unit tests
     X509ALTUSERNAME=off: Enable --x509-username-field
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib ...

There is a similar, but closed PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254323

What can I do?

	matthias



-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub