The goal is to have ${CHOST}-pkg-config that random programs can find and use. I'm attaching two patches, one adds the necessary magic into the eclass, the other updates pkgconf-9999.ebuild. The end result is: . └── usr ├── bin │ ├── i686-pc-linux-gnu-pkgconf │ ├── i686-pc-linux-gnu-pkg-config -> i686-pc-linux-gnu-pkgconf │ ├── pkgconf -> x86_64-pc-linux-gnu-pkgconf │ ├── pkg-config -> x86_64-pc-linux-gnu-pkg-config │ ├── x86_64-pc-linux-gnu-pkgconf │ └── x86_64-pc-linux-gnu-pkg-config -> x86_64-pc-linux-gnu-pkgconf
Created attachment 373726 [details, diff] multilib-build.eclass: rewrite symlinks in MULTILIB_CHOST_TOOLS
Created attachment 373728 [details, diff] pkgconf-9999 patch
@jdhore, @multilib: please review the patches and lemme know what you think.
(In reply to Michał Górny from comment #3) > @jdhore, @multilib: please review the patches and lemme know what you think. Looks good to me.
Thanks. Both committed now. +*pkgconf-0.9.3-r1 (30 Mar 2014) + + 30 Mar 2014; Michał Górny <mgorny@gentoo.org> +pkgconf-0.9.3-r1.ebuild, + pkgconf-9999.ebuild: + Enable multilib support, bug #506062.