tech-pkg archive

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

Re: mail/mutt and BDB_ACCEPTED

Am April 7, 2020 8:12:12 PM UTC schrieb Rhialto <>:
>On Tue 07 Apr 2020 at 15:25:18 +0200, Olaf Seibert wrote:
>> It turned out in the end that "../../mk/" was
>> prematuredly included, before BDB_ACCEPTED was set. Indeed it
>> as early as somewhere during the 
>> .include "../../mk/"
>> near the top of the file.
>How do other people debug this sort of stuff?

What about adding this in


This would do nothing right now but the corresponding check could be implemented in bmake and pkglint. Bash or even sh already has a readonly command, so this is nothing conceptually new.

Adding this check to bmake would be backwards-compatible. That's why I chose the above syntax rather that the straight-forward:

    .readonly BDB_ACCEPTED

Some people use pkgsrc with NetBSD's /usr/bin/make and I'd like to continue supporting that. I don't know how backwards-compatible pkgsrc intends to be in this regard. Is /usr/bin/make from NetBSD 1.6 still supported? I don't think this is written down anywhere.


Home | Main Index | Thread Index | Old Index