e.g. xulrunner-1.9.2.4 installs a file called /etc/gre.d/1.9.2.4.system.conf containing: [1.9.2.4] GRE_PATH=/usr/lib64/xulrunner-1.9.2 xulrunner=true abi=x86_64-gcc3 https://developer.mozilla.org/en/GRE_Registration and my own tests confirm apps will load any /etc/gre.d/*.conf file that has matching version/arch information inside. Suggest something like this (borrowed from similarish lines in gtk+ and pango ebuilds): if has_multilib_profile; then local config for config in "${D}"/etc/gre.d/*.system.conf ; do mv "${config}" "${config%.conf}.${CHOST}.conf" done fi
Currently implemented in 1.9.2.6