Re: git: 73922d6b363a - main - net-mgmt/librenms: Fix start on FreeBSD 14/nginx

From: Sergey A. Osokin <osa_at_freebsd.org>
Date: Sun, 08 Oct 2023 14:54:22 UTC
Hi Dan,

On Sat, Oct 07, 2023 at 11:52:59AM +0000, Dan Langille wrote:
> The branch main has been updated by dvl:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=73922d6b363a6902a05721d9102386ce657b03d4
> 
> commit 73922d6b363a6902a05721d9102386ce657b03d4
> Author:     Dan Langille <dvl@FreeBSD.org>
> AuthorDate: 2023-10-07 11:49:41 +0000
> Commit:     Dan Langille <dvl@FreeBSD.org>
> CommitDate: 2023-10-07 11:49:41 +0000
> 
>     net-mgmt/librenms: Fix start on FreeBSD 14/nginx
>     
>     This may be a path issue or a shell issue, but nginx on FreeBSD 14
>     is not finding /usr/local/bin/php. The fix: use /usr/local/bin/php
>     as we have done with other patches.
>     
> +-        base = ("/usr/bin/env", "php")
> ++        base = ("/usr/local/bin/php",)

Would that be better to use %%PREFIX%% in a patch and substitute
that with a value of the ${LOCALBASE} variable in a post-patch
phase?

Thank you.

-- 
Sergey A. Osokin