In my USE, I have 'unicode' but when I compile wxGTK-2.6.1, I have the following output : /var/tmp/portage/wxGTK-2.6.1/work/wxWidgets-2.6.1/configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --disable-debugreport --with-zlib --disable-debug --disable-debug_gdb --with-png --with-jpeg --with-tiff --enable-opengl --with-opengl --without-gnomeprint --with-sdl --disable-joystick --with-gtk=2 --without-odbc ... checking for --enable-unicode... no ... Which GUI toolkit should wxWidgets use? GTK+ 2 Should wxWidgets be compiled into single library? no Should wxWidgets be compiled in debug mode? no Should wxWidgets be linked as a shared library? yes Should wxWidgets be compiled in Unicode mode? no What level of wxWidgets compatibility should be enabled? wxWidgets 2.2 no wxWidgets 2.4 yes If 'unicode' is in USE flags, I think unicode should be enabled during wxGTK compilation. Reproducible: Always Steps to Reproduce: 1. emerge =x11-libs/wxGTK-2.6.1 2. 3. Expected Results: --enable-unicode added when USE=unicode A solution could be to replace in wxGTK-2.6.1.ebuild : use gtk2 && \ configure_build gtk2 unicode "${myconf} --with-gtk=2" by use gtk2 && \ configure_build gtk2 unicode "${myconf} --with-gtk=2 --enable-unicode"
It does install the unicode version but also the ansi version because several packages are broken and don't work with unicode yet (audacity, bochs etc.) So until all packages are fixed upstream to work with unicode, we're stuck with having both libs.