Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2024 03:09:34 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d4d769c058ed - main - net-p2p/qbittorrent: Fix build on 13
Message-ID:  <202410050309.49539YnN084314@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

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

commit d4d769c058ed8c153d1acec46892b3a9d42aeb37
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-05 01:59:05 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-05 03:09:26 +0000

    net-p2p/qbittorrent: Fix build on 13
    
    The error was:
      Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
      system variable OPENSSL_ROOT_DIR: Found unsuitable version "1.1.1w", but
      required is at least "3.0.2" (found /usr/lib/libcrypto.so, )
    
    Reported by:    fallout
---
 net-p2p/qbittorrent/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile
index c07cfae80ab7..9eb30369eb44 100644
--- a/net-p2p/qbittorrent/Makefile
+++ b/net-p2p/qbittorrent/Makefile
@@ -66,6 +66,13 @@ LIBTORRENT2_EXTRA_PATCHES=	${FILESDIR}/extrapatch-libtorrent-rasterbar2-settings
 PYTHON_DESC=		Install Python to support some plugin functionality
 PYTHON_USES=		python:run
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400000
+LIB_DEPENDS=	libcrypto.so:security/openssl
+CMAKE_ARGS=	-DOPENSSL_ROOT_DIR=${LOCALBASE}
+.endif
+
 post-patch-PYTHON-on:
 	@${REINPLACE_CMD} \
 		-e 's|"python3"|"${PYTHON_CMD}"|' \


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410050309.49539YnN084314>