git: f39f50dc6557 - main - net-p2p/qbittorrent: Correct Python executable path
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Oct 2023 07:09:42 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=f39f50dc6557df9d900a7ae7f3a45468830f4324 commit f39f50dc6557df9d900a7ae7f3a45468830f4324 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-10-16 07:08:20 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-10-16 07:09:40 +0000 net-p2p/qbittorrent: Correct Python executable path ... that qBittorrent uses for search plugins. --- net-p2p/qbittorrent/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile index e53a70664647..744974b337f6 100644 --- a/net-p2p/qbittorrent/Makefile +++ b/net-p2p/qbittorrent/Makefile @@ -1,6 +1,6 @@ PORTNAME= qbittorrent DISTVERSION= 4.5.5 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -73,7 +73,11 @@ LIBTORRENT2_EXTRA_PATCHES= ${FILESDIR}/extrapatch-libtorrent-rasterbar2-settings PYTHON_DESC= Install Python to support some plugin functionality PYTHON_USES= python:run -PYTHON_BINARY_ALIAS= python3=${PYTHON_CMD} + +post-patch-PYTHON-on: + @${REINPLACE_CMD} \ + -e 's|"python3"|"${PYTHON_CMD}"|' \ + ${WRKSRC}/src/base/utils/foreignapps.cpp post-install: .if ${FLAVOR} == nox