pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/59184: devel/mk-configure fails with mysterious .MAKE.LEVEL.ENV error



> Date: Mon, 17 Mar 2025 08:32:37 +0100
> From: Thomas Klausner <wiz%gatalith.at@localhost>
>
> I asked rillig@ this last fall, and his analysis is, in my words:
>  
> Since usr.bin/make from 2020-08-22, internal variables that are
> provided over the command line, are not put into MAKEFLAGS into
> longer.
> 
> NetBSD 9 doesn't have this patch.
> 
> mk-configure pulls in bmake from pkgsrc (with this change). The build
> is started using NetBSD 9's make, which exports the (internal)
> MAKEFLAGS variable and calls bmake-20240711, which complains about the
> try of overwriting the internal variable.

Can we do something to nix .MAKE.LEVEL.ENV from the MAKEFLAGS that
pkgsrc passes down to the do-build recipe?

It sounds like it's not really mk-configure's fault that this is
happening; really, it's a bug with pkgsrc running a do-build recipe
the wrong way -- in a way the package Makefile didn't even ask for.


Home | Main Index | Thread Index | Old Index