Skip to content

Commit

Permalink
net/libvncserver: Fix build with ssl from ports
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
Zirias committed Sep 20, 2023
1 parent eecfadf commit 833240c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/libvncserver/Makefile
Expand Up @@ -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:
Expand Down

0 comments on commit 833240c

Please sign in to comment.