The pgadmin ebuild does this: DEPEND="x11-libs/wxGTK:=[X,debug=] [...] WX_GTK_PV=$(best_version x11-libs/wxGTK[X,debug=]) WX_GTK_VER=$(get_version_component_range 1-2 ${WX_GTK_PV#x11-libs/wxGTK-}) There is no debug flag in wxGTK-3.0 (debugging features are always available in these releases). This means setting USE=debug will cause a forced downgrade to 2.8. And as we're trying to remove 2.8, soon it'll stop working at all. You could fix the dependency part with USE dep defaults (ie. x11-libs/wxGTK:=[X,debug(+)=]), but unfortunately best_version doesn't understand that syntax. Also we are planning on adding a gtk+ 3 variant of wxGTK in the near future which will have a SLOT (and thus WX_GTK_VER) of 3.0-gtk3 which will break the way you set WX_GTK_VER (if the gtk3 SLOT is the only installed it will satisfy the dep but WX_GTK_VER will be set to 3.0, which doesn't exist). The best thing to do here is just drop all this and use something like: WX_GTK_VER="3.0" DEPEND="x11-libs/wxGTK:${WX_GTK_VER}=[X] [...] src_configure() { need-wxwidgets unicode econf --with-wx-version=${WX_GTK_VER} \ $(use_enable debug) \ $(use_enable databasedesigner) } Since your ebuild has a debug USE flag the eclass will handle the debug stuff automatically.
Hi, is there some progress to this? We have been stumbling on the new gtk3-version of wkwidgets being around without this being solved...: https://bugs.gentoo.org/show_bug.cgi?id=582304 Thanks and Cheers Andreas
*** Bug 582304 has been marked as a duplicate of this bug. ***
commit 5b269bde2f90f91549bf292abbea4843a95b6e94 Author: Aaron W. Swenson <titanofold@gentoo.org> Date: Tue May 17 07:01:38 2016 -0400 dev-db/pgadmin3: Fix build issues with x11-libs/wxGTK Changed and fixed dependency to the 3.0 slot as older slots are going away soon, and PgAdmin is currently incompatible with GTK+3. Bug: 575270, 580090 Package-Manager: portage-2.2.26