Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2023 13:19:56 +0100
From:      Mathieu Arnold <mat@freebsd.org>
To:        Adam Weinberger <adamw@adamw.org>
Cc:        Gerald Pfeifer <gerald@pfeifer.com>, Larry Rosenman <ler@freebsd.org>,  Ashish SHUKLA <ashish@freebsd.org>, ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: 8d096cbc7af5 - main - sysutils/lsof: add a build depends on bash for the timebeing.
Message-ID:  <magfc3arlgw6cnqa4bgl73ho344bvrnthionsr4gaig6kab5wy@mo7mzrlc4blx>
In-Reply-To: <CAP7rwcieVLpb9Z4ENHBxkRb88XkToj7TWZccKhPq=q-L_JWyyw@mail.gmail.com>
References:  <202312050108.3B518qwD065426@gitrepo.freebsd.org> <653e5bc3811b06d371517936f02cf0c2@FreeBSD.org> <1e93ed1a910819a38a332a580b4746d0@FreeBSD.org> <526e9cf0-55cf-afac-b8b5-5005e63cc6ae@pfeifer.com> <CAP7rwcieVLpb9Z4ENHBxkRb88XkToj7TWZccKhPq=q-L_JWyyw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--izf6jzhh4fyilgzg
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Dec 13, 2023 at 06:32:44AM -0500, Adam Weinberger wrote:
> On Wed, Dec 13, 2023 at 12:26=E2=80=AFAM Gerald Pfeifer <gerald@pfeifer.c=
om> wrote:
>=20
> > On Mon, 4 Dec 2023, Larry Rosenman wrote:
> > >>> +BUILD_DEPENDS=3D             /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:...".
> >
>=20
> Also just FTR, BUILD/RUN_DEPENDS works without absolute pathnames. This
> would work fine too (and is the more common invocation):
> BUILD_DEPENDS=3D  bash:shells/bash

They are semantically different.

bash:shells/bash means I need a bash executable, like, for running shell
scripts.

LOCAL/bin/bash:shells/bash means I need the LOCAL/bin/bash file, it may
not be for execution. It is more usually used for a header, I do not see
why one would need bash but not for running it.

--=20
Mathieu Arnold

--izf6jzhh4fyilgzg
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQITBAABCgB9FiEE9XJBpJetWizkEBUef2IOCp6dQb4FAmV5oWtfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY1
NzI0MUE0OTdBRDVBMkNFNDEwMTUxRTdGNjIwRTBBOUU5RDQxQkUACgkQf2IOCp6d
Qb79Nwv+JLoh2B+AdLyBie/hmL/jU6gqx7tEF3kw/i0OEsj4ts62hoZdyll4kUvy
jGzNekVOSKGFgleOhiEsjHv0rabZKGtDzTBvGpR2PPjo216DUtfsnwtDZ8GUKgxJ
HSpx34b8iqyenD/bfJr3iWo97ugoczlIIGSC/c6hAsZmdDXVZWiBIG5Wu8QNgVwC
v7Z6xbFwvJ+Ilk06v0Qp9tCJQueJ25tV1H363pd/HrnRO1IpyVkcFQYa+FrZCBer
gC/V9oiNrqpea9jw2rx+FT5xvyjdurvJCZgIabgPXPoONScMfkI++XKdx3mqeswj
eR7KqTRftg9tTElPaURc13dbWJS4oICg60ThLLbEhLst9aeIBO94aKgAVJoXEKyB
VN25HYnh2FsBsLQ2t4mVOUhNkii2XFTznFCOtF+fDPxfwsqjti6+9wrmsu4mL0er
G/coP3i1kQZzKmcLHwJzy9Ex8VyRiLN3U9bLAbZwPL9F7vFsrcWncKqGdwzpxE4i
tZURs8QB
=paf9
-----END PGP SIGNATURE-----

--izf6jzhh4fyilgzg--



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