Re: git: 8d096cbc7af5 - main - sysutils/lsof: add a build depends on bash for the timebeing.

From: Adam Weinberger <adamw_at_adamw.org>
Date: Wed, 13 Dec 2023 11:32:44 UTC
On Wed, Dec 13, 2023 at 12:26 AM Gerald Pfeifer <gerald@pfeifer.com> wrote:

> On Mon, 4 Dec 2023, Larry Rosenman wrote:
> >>> +BUILD_DEPENDS=             /usr/local/bin/bash:shells/bash
> >> s,/usr/local,${LOCALBASE},
> > I'm out of practice :(
>
> No worries, just note we have tools to support us.
>
> I gave this a try and got the following from portlint:
>
>   % portlint -C
>   WARN: Makefile: possible use of absolute pathname
> "/usr/local/bin/bash:...".
>

Also just FTR, BUILD/RUN_DEPENDS works without absolute pathnames. This
would work fine too (and is the more common invocation):
BUILD_DEPENDS=  bash:shells/bash

# Adam


-- 
Adam Weinberger
adamw@adamw.org
https://www.adamw.org