git: 833240cfd41f - main - net/libvncserver: Fix build with ssl from ports
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Sep 2023 07:44:33 UTC
The branch main has been updated by zirias:
URL: https://cgit.FreeBSD.org/ports/commit/?id=833240cfd41f88930975f886cdbed492ed9c2e75
commit 833240cfd41f88930975f886cdbed492ed9c2e75
Author: Felix Palmen <zirias@FreeBSD.org>
AuthorDate: 2023-09-20 06:17:01 +0000
Commit: Felix Palmen <zirias@FreeBSD.org>
CommitDate: 2023-09-20 07:43:27 +0000
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)
---
net/libvncserver/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/libvncserver/Makefile b/net/libvncserver/Makefile
index baef28d711b3..27ff03f493a5 100644
--- a/net/libvncserver/Makefile
+++ b/net/libvncserver/Makefile
@@ -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: