This ebuilds looks like a candidate for multilib-minimal or multilib-build with MULTILIB_COMPAT=( abi_x86_{32,64} ). I'd be happy to help you mangling it except that it seems to require some fancy CD to install. A few points though: 1. use EAPI=5, and update all the [abi_x86_32] to [abi_x86_32(-)], 2. the eclass will give you abi_x86_{32,64} instead of USE=multilib, 3. if you use multilib-minimal, then you'll want to change that src_prepare() into multilib_src_configure() that mangles stuff for each separatedly, and multilib_src_install(), 4. if you use multilib-build, you can do somewhat close to what you do now, though you should make it more conditional to USE=abi_x86_* than USE=amd64, 5. and you likely want: multilib_foreach_abi gnome2_query_immodules_gtk2
Created attachment 378728 [details, diff] atokx3-3.0.0-r10.ebuild.patch Here's a first attempt using multilib-build -- I haven't tried this with x86 but it seems to do the right thing on amd64 (at least, the package contents are the same as before and the program works as expected). Does this look correct? I have the CD so I can test any changes (well, when I get back from vacation ;)
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e80fea5b9f61492e9f7ba0a620c07f2f9f892e78 Thank you for the patch!