Wednesday, December 30, 2020

Re: FETCH_PACKAGES, mk.conf and make variable substitution time

On Wed, Dec 30, 2020 at 09:30:57PM +0000, Stuart Henderson wrote:
> Oh wow, quite a deep rabbit hole to go down for this. I went for the
> simple approach:
>
> $ echo $PKG_PATH
> http://ftp.hostserver.de/pub/OpenBSD/snapshots/packages/%a/
I don't use `-Dsnap' to ensure snapshot packages but rather to fetch
binary packages in the first place when ensuring dependencies during
ports building rather than building everything from source.

I see how pkg_add(1) "special sequences" in PKG_PATH are much nicer than
the too simple installurl(5), but this is another topic.

The mail's subject probably should not have mentioned FETCH_PACKAGES as
this issue is really about make(1)/bsd.port.mk(5) internals per se;
quirks/FETCH_PACKAGES is simply one specific case I encountered.

No comments:

Post a Comment