1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

net/libvncserver: Fix build with ssl from ports

Building with ssl from ports used the headers from ports, but still
linked the libs from base and therefore failed. Define cmake
OPENSSL_ROOT_DIR to ${OPENSSLBASE} to fix this.

Approved by:	portmgr (blanket, build fix)
This commit is contained in:
Felix Palmen 2023-09-20 08:17:01 +02:00
parent eecfadf692
commit 833240cfd4

View File

@ -47,6 +47,7 @@ GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls
GNUTLS_CMAKE_BOOL= WITH_GNUTLS
OPENSSL_CMAKE_BOOL= WITH_OPENSSL
OPENSSL_CMAKE_ON= -DOPENSSL_ROOT_DIR=${OPENSSLBASE}
OPENSSL_USES= ssl
post-install: