Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2024 16:09:40 GMT
From:      Dries Michiels <driesm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d52daad3109a - main - net-p2p/bazarr: use LOCALBASE in exporting PATH
Message-ID:  <202403041609.424G9eu9028338@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by driesm:

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

commit d52daad3109a9605ed1addc70d67fa6080207e8f
Author:     Dries Michiels <driesm@FreeBSD.org>
AuthorDate: 2024-03-04 15:15:39 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2024-03-04 16:09:31 +0000

    net-p2p/bazarr: use LOCALBASE in exporting PATH
    
    Reported by:    jbeich
    Approved by:    maintainer (e-mail)
---
 net-p2p/bazarr/Makefile        | 1 +
 net-p2p/bazarr/files/bazarr.in | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-p2p/bazarr/Makefile b/net-p2p/bazarr/Makefile
index 67f5f351f98b..34ffb55f0146 100644
--- a/net-p2p/bazarr/Makefile
+++ b/net-p2p/bazarr/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	bazarr
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.4.2
+PORTREVISION=	1
 CATEGORIES=	net-p2p python
 MASTER_SITES=	https://github.com/morpheus65535/bazarr/releases/download/${DISTVERSIONPREFIX}${DISTVERSION}/
 DISTNAME=	bazarr
diff --git a/net-p2p/bazarr/files/bazarr.in b/net-p2p/bazarr/files/bazarr.in
index 29710c68d418..b5511beae20f 100644
--- a/net-p2p/bazarr/files/bazarr.in
+++ b/net-p2p/bazarr/files/bazarr.in
@@ -34,7 +34,7 @@ start_precmd=bazarr_precmd
 
 bazarr_precmd()
 {
-	export PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
+	export PATH="/sbin:/bin:/usr/sbin:/usr/bin:%%LOCALBASE%%/sbin:%%LOCALBASE%%/bin"
 
 	if [ ! -d ${bazarr_datadir} ]; then
 		install -d -o ${bazarr_user} ${bazarr_datadir}



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