With GNAT installed (gnat-gcc-4.2.0 in my case), an automagic detection makes compilation of sys-libs/ncurses-5.6-r2 fail with : gnatgcc -c -I./ -I/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/Ada95/samples -I../src -I/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/Ada95/samples/../src -O3 -gnatpn -gnatg -I/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/Ada95/samples -I- /var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/Ada95/samples/sample-helpers.adb sample-helpers.adb:42:06: warning: redundant with clause in body gnatmake: "/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/ncurses-5.6/Ada95/samples/sample-helpers.adb" compilation error make[2]: *** [tour] Error 4 make[2]: Leaving directory `/var/tmp/portage/sys-libs/ncurses-5.6-r2/work/narrowc/Ada95/samples' Note that compilation will fail in a few other places other than this one when doing a parallel make. Passing EXTRA_ECONF="--without-ada" works around this. So maybe ncurses should be configured without Ada until for example bug #167849 is fixed. Denis.
i dont know what "automatic dependency" you're referring to ... it's all controlled via USE=ada
guess i remember wrong *** This bug has been marked as a duplicate of bug 167849 ***