Date: Mon, 4 Mar 2024 16:09:42 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: 2e3d3209da63 - main - net-p2p/lidarr: use LOCALBASE in exporting PATH Message-ID: <202403041609.424G9gkS028383@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=2e3d3209da63233028c34d2a1e752abb2e67a3a1 commit 2e3d3209da63233028c34d2a1e752abb2e67a3a1 Author: Dries Michiels <driesm@FreeBSD.org> AuthorDate: 2024-03-04 15:17:08 +0000 Commit: Dries Michiels <driesm@FreeBSD.org> CommitDate: 2024-03-04 16:09:31 +0000 net-p2p/lidarr: use LOCALBASE in exporting PATH Reported by: jbeich Approved by: maintainer (e-mail) --- net-p2p/lidarr/Makefile | 1 + net-p2p/lidarr/files/lidarr.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/net-p2p/lidarr/Makefile b/net-p2p/lidarr/Makefile index f8b2cab538c0..1ae9ddc1bd9b 100644 --- a/net-p2p/lidarr/Makefile +++ b/net-p2p/lidarr/Makefile @@ -1,5 +1,6 @@ PORTNAME= lidarr DISTVERSION= 2.1.7.4030 +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 df009015b687..fe5dc36a157b 100644 --- a/net-p2p/lidarr/files/lidarr.in +++ b/net-p2p/lidarr/files/lidarr.in @@ -33,7 +33,7 @@ command="/usr/sbin/daemon" start_precmd=${name}_precmd %%PORTNAME%%_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 ${%%PORTNAME%%_data_dir} ]; then install -d -o ${%%PORTNAME%%_user} -g ${%%PORTNAME%%_group} ${%%PORTNAME%%_data_dir}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403041609.424G9gkS028383>