Created attachment 372210 [details] build.log This is on a new install. bison provides yacc. build.log is attached. $ eix -e yacc * dev-util/yacc Available versions: 1.9.1-r4 (~)1.9.1-r5 Homepage: http://dinosaur.compilertools.net/#yacc Description: Yacc: Yet Another Compiler-Compiler [I] virtual/yacc Available versions: 0 Installed versions: 0(02:44:07 PM 03/04/2014) Description: virtual for yacc (yet another compiler compiler) Found 2 matches. $ eix -e bison [I] sys-devel/bison Available versions: 1.875d 2.4.3 (~)2.7.1 [M](~)3.0.2 {nls static} Installed versions: 2.7.1(10:57:58 AM 03/06/2014)(nls -static) Homepage: http://www.gnu.org/software/bison/ Description: A general-purpose (yacc-compatible) parser generator Running eautoconf in src_prepare() fixes it for me and correctly detects -lfl.
Running eautoreconf also generates a broken Makefile, since Makefile has been edited (upstream) after Makefile.am.
Created attachment 372230 [details] diff This is the diff of the Makefiles if I run autoconf.
Alternatively we can run `LEXLIB=-lfl econf' in src_configure...
(In reply to Jeroen Roovers from comment #3) > Alternatively we can run `LEXLIB=-lfl econf' in src_configure... And additionally, set BISON=no and drop the virtual/yacc dependency.
Experimentally committed in -r1. Thanks for the report!