Bug 123471 - sys-devel/flex-2.5.31 fails with m4 is not GNU m4
Bug#: 123471 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Other Status: RESOLVED Severity: major Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: flameeyes@gentoo.org
Component: Ebuilds
URL: 
Summary: sys-devel/flex-2.5.31 fails with m4 is not GNU m4
Keywords:  
Status Whiteboard: 
Opened: 2006-02-20 02:53 0000
Description:   Opened: 2006-02-20 02:53 0000
Since 2.5.30 or similar flex now uses GNU m4 to create its output.
Unfortunately up to 2.5.31, it doesn't check if m4 is GNU m4 or not, so when
used on a system which USERLAND is not GNU it fails (with a -P option not found
usually).

Upstream already fixed this in CVS with a complete solution; the attached is
mostly an hack but it's the least invasive thing I can think of.

Thanks,
Diego

P.S.: flex should  have an RDEPEND on sys-devel/m4.

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2006-02-20 02:54:33 0000 -------
Created an attachment (id=80258) [details]
flex-2.5.31-gm4.patch

------- Comment #2 From SpanKY 2006-02-20 12:06:54 0000 -------
in cvs, thanks