tech-pkg archive

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

Re: Minium required bison version



On Tue, 24 Nov 2009 08:27:18 +0900, Matthias Scheler 
<tron%zhadum.org.uk@localhost> wrote:


        Hello,

from "mk/tools/tools.Darwin.mk":

        # Darwin's bison is too old (1.28).
        # TOOLS_PLATFORM.bison?=                /usr/bin/bison
        # TOOLS_PLATFORM.bison-yacc?=   /usr/bin/bison -y

Mac OS X Snow Leopard however comes with bison 2.3. Is that new enough?
The version of "bison" in "pkgsrc" is 2.4.1 which is even newer.

We may provide general way to detect whether builtin tool sufficient minimum 
required version or not,
as doing for texinfo and gettext-tools now.
It is unclear minimum required version for each tools now.
And some packages may require more newer version.
For Darwin, it may be handled in tools.Darwin.mk by ${MACHINE_PLATFORM} like 
for gmake,
but need to check and adjust after every new OS release.
Moreover, it is hard for Linux (PR#41822 probably came from too old builtin 
gmake on Linux).

--
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index