1 Oct 2003 02:52
Re: BUILD_USES_LEX and BUILD_USES_YACC
Jeremy C. Reed <reed <at> reedmedia.net>
2003-10-01 00:52:07 GMT
2003-10-01 00:52:07 GMT
On Wed, 1 Oct 2003, grant beattie wrote: > tools.mk is probably the best place for this, but I do agree that > USE_GNU_TOOLS would be misleading in this context. > > we could create a USE_TOOLS variable, analogous to USE_GNU_TOOLS, and > perhaps even migrate the GNU stuff to USE_TOOLS.GNU, or similar.. > comments? Probably USE_TOOLS would be better. Now it says _TOOLS_OPSYS_HAS_GNU.grep+= includes OpenBSD. The next month's release of OpenBSD will not include GNU grep. > > I don't see (but I may be overlooking this), some way for tools.mk to > > check to see if system's version really exists. And if it doesn't exist > > then use the BUILD_DEPENDS version. > > that can certainly be added. That would be good. Using the examples that exist now, it just assumes it is installed if _TOOLS_OPSYS_HAS_GNU has it defined. Also, it assumes that the variable, like YACC, is correct. Please have a look at my patch (which doesn't do me any good yet): Index: mk/tools.mk =================================================================== RCS file: /cvsroot/pkgsrc/mk/tools.mk,v retrieving revision 1.15(Continue reading)
RSS Feed