Subject: Re: on the topic of bmake
To: George Georgalis <email@example.com>
From: Tobias Nygren <tnn@NetBSD.org>
Date: 12/11/2007 22:20:56
On Tue, 11 Dec 2007 12:11:09 -0500
George Georgalis <firstname.lastname@example.org> wrote:
> Every so often I use make when I should use bmake...
> Is there any particular reason the bootstrap files
> don't determine make compatibility and exec bmake $@
> as needed?
> // George
Yes, because e.g. category/pkg/Makefile might contain statements
that gmake doesn't understand, causing it to bail out before including
any infrastructure stuff that could potentially do autodetection.
You could put something like the following in ~/.profile to get
if pwd | grep 'pkgsrc/[^/]*/[^/]*$' > /dev/null