[oe] [PATCH] bison: add flex dependency

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Wed Aug 18 06:28:40 UTC 2010


2010/8/17 Phil Blundell <philb at gnu.org>:
> On Tue, 2010-08-17 at 16:14 +0200, Frans Meulenbroeks wrote:
>> 2010/8/17 Phil Blundell <philb at gnu.org>:
>> > On Mon, 2010-08-16 at 16:26 -0500, Jason Kridner wrote:
>> >> -DEPENDS = "virtual/libintl"
>> >> +DEPENDS = "virtual/libintl virtual/flex"
>> >
>> > Does this actually work?  I couldn't immediately spot any obvious
>> > package which PROVIDES virtual/flex, and that sounds like a strange kind
>> > of virtual to have since I don't think there are any alternative
>> > implementations of flex.  (But if bison actually depends on lex
>> > generically, rather than flex specifically, it might make some sense to
>> > introduce a virtual/lex and have flex PROVIDE it.)
>> >
>>
>> is there another popular lexer apart from flex?
>> And will bison build with it?
>
> Well, there's lex itself obviously.  I'm not sure whether bison will
> actually work with it, and I guess the majority of lex afficionados will
> probably be using yacc rather than bison in any case, so it probably
> isn't all that big a deal.  But if bison does indeed support non-flex
> implementations of lex then it would be nice to expose that in the
> metadata.
>
>
Guess other packages then also start to depend on a
new-to-be-introduced virtual/lex
As I think it is pretty pointless to have this, and as it requires
some time to introduce it elsewhere (time that I do not have now), I
added a dependency on flex-native and pushed that one

Frans.




More information about the Openembedded-devel mailing list