media-sound/zynaddsubfx-2.4.3 needs fltk unconditionally (ie. it should not allow the user to disable it via USE flags). That's because main.cpp includes <FL/Fl.h> regardless of how the package has been configured and it fails if CFLAGS does not include the path to /usr/include/fltk[-1]. Reproducible: Always Steps to Reproduce: 1. use /etc/portage/package.use to disable [fltk] for media-sound/zynaddsubfx 2. attempt to [re]emerge media-sound/zynaddsubfx 2.4.3 Actual Results: The ebuild fails because g++ is unable to find 'FL/Fl.h' in main.cpp:40 (wrong CFLAGS) Expected Results: The package should be emerged with no problems. Gentoo ~amd64, portage 2.1.11.23, gcc 4.7.2
The include appears to be in the wrong place in src/main.cpp. Should be shifted a few lines down, it seems.
fixed, thanks