Skip to main content.

2005-Feb-17

pkgsrc/mk/tools.mk has has problems for a while, so I filed a PR today so it won't be forgotton. It expects tools to be installed on certain platforms for some operating systems. For example, it assumes that yacc is available for Linux -- really it is not and in some cases bison is. And it will not check first. And it does not install package if needed.

When you tell a package that you need some tool for the build, it uses misnamed "USE_GNU_TOOLS". So if you need a generic yacc, then this means on NetBSD that it will use "bison -y" instead of its own native yacc.

Send-pr: pkg/29432: tools.mk should check for available tools and more.