Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2024 18:49:54 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: 184188b65d98 - main - net-p2p/lidarr: fix finding fpcalc
Message-ID:  <202401231849.40NInsva079956@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=184188b65d9806daedda9f3658d491db62d522ae

commit 184188b65d9806daedda9f3658d491db62d522ae
Author:     Michiel van Baak Jansen <michiel@vanbaak.eu>
AuthorDate: 2024-01-23 18:45:46 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2024-01-23 18:45:46 +0000

    net-p2p/lidarr: fix finding fpcalc
    
    lidarr fails to find fpcalc with the standard PATH set.
    
    PR:     276514
---
 net-p2p/lidarr/Makefile        | 1 +
 net-p2p/lidarr/files/lidarr.in | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/net-p2p/lidarr/Makefile b/net-p2p/lidarr/Makefile
index aed585be4937..0489dd671835 100644
--- a/net-p2p/lidarr/Makefile
+++ b/net-p2p/lidarr/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	lidarr
 DISTVERSION=	2.0.7.3849
+PORTREVISION=	1
 CATEGORIES=	net-p2p
 MASTER_SITES=	https://github.com/lidarr/Lidarr/releases/download/v${PORTVERSION}/
 DISTNAME=	Lidarr.master.${DISTVERSION}.freebsd-core-x64
diff --git a/net-p2p/lidarr/files/lidarr.in b/net-p2p/lidarr/files/lidarr.in
index 3b9bf2480f37..df009015b687 100644
--- a/net-p2p/lidarr/files/lidarr.in
+++ b/net-p2p/lidarr/files/lidarr.in
@@ -33,6 +33,8 @@ command="/usr/sbin/daemon"
 
 start_precmd=${name}_precmd
 %%PORTNAME%%_precmd() {
+    export PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
+
     if [ ! -d ${%%PORTNAME%%_data_dir} ]; then
         install -d -o ${%%PORTNAME%%_user} -g ${%%PORTNAME%%_group} ${%%PORTNAME%%_data_dir}
     fi



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