When emerging vlc 0.8.1-r1 with these (relevant) USE flags: -gtk2 -wxwindows, it complains about not having wxGTK. Reproducible: Always Steps to Reproduce: 1. set USE flags to "-wxwindows -gtk2" 2. emerge =vlc-0.8.1-r1 Actual Results: Calculating dependencies ...done! >>> emerge (1 of 1) media-video/vlc-0.8.1-r1 to / >>> md5 src_uri ;-) vlc-0.8.1.tar.bz2 !!! set-wxconfig: Error: Can't find normal or debug version: !!! set-wxconfig: /usr/bin/wxgtk-2.4-config not found !!! set-wxconfig: /usr/bin/wxgtkd-2.4-config not found !!! You need to emerge wxGTK with -no_wxgtk1 in your USE Expected Results: Compile flawlessly without wxwindows This simple patch allows VLC to compile without wxwindows: --- vlc-0.8.1-r1.ebuild.old 2005-03-28 05:04:25.000000000 +0200 +++ vlc-0.8.1-r1.ebuild 2005-03-30 19:48:45.000000000 +0200 @@ -62,14 +62,16 @@ pkg_setup() { WX_GTK_VER="2.4" - if use gtk2; then - if use unicode; then - need-wxwidgets unicode || die "You need to install wxGTK with unicode support." + if use wxwindows; then + if use gtk2; then + if use unicode; then + need-wxwidgets unicode || die "You need to install wxGTK with unicode support." + else + need-wxwidgets gtk2 || die "You need to install wxGTK with gtk2 support." + fi else - need-wxwidgets gtk2 || die "You need to install wxGTK with gtk2 support." + need-wxwidgets gtk || die "You need to install wxGTK with gtk support." fi - else - need-wxwidgets gtk || die "You need to install wxGTK with gtk support." fi }
Ahh, this is already in -r1 and -r2 (upcoming) versions.