git: a0a6a1f9e2a7 - main - net-p2p/qbittorrent: Corrent DEPENDS lines adding openssl package

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 10 Oct 2024 19:05:40 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a0a6a1f9e2a7e9c6d2e6b8989d453dc6ea683d99

commit a0a6a1f9e2a7e9c6d2e6b8989d453dc6ea683d99
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-10 14:48:30 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-10 19:05:38 +0000

    net-p2p/qbittorrent: Corrent DEPENDS lines adding openssl package
---
 net-p2p/qbittorrent/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile
index 9eb30369eb44..6f0fd8480652 100644
--- a/net-p2p/qbittorrent/Makefile
+++ b/net-p2p/qbittorrent/Makefile
@@ -69,7 +69,9 @@ PYTHON_USES=		python:run
 .include <bsd.port.options.mk>
 
 .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400000
-LIB_DEPENDS=	libcrypto.so:security/openssl
+#LIB_DEPENDS+=	libcrypto.so:security/openssl # LIB_DEPENDS doesn't work here (after bsd.port.options.mk)
+BUILD_DEPENDS+=	openssl>0:security/openssl
+RUN_DEPENDS+=	openssl>0:security/openssl
 CMAKE_ARGS=	-DOPENSSL_ROOT_DIR=${LOCALBASE}
 .endif