--- orbit-2.14.17.ebuild.old 2009-03-17 16:50:14.000000000 +0200 +++ orbit-2.14.17.ebuild 2009-03-17 16:51:17.000000000 +0200 @@ -4,7 +4,7 @@ GCONF_DEBUG="no" -inherit gnome2 +inherit gnome2 toolchain-funcs MY_P="ORBit2-${PV}" PVP=(${PV//[-\._]/ }) @@ -34,6 +34,10 @@ # for more information. Please don't remove -- 8/18/06 unset IDL_DIR + if tc-is-cross-compiler; then + [ -x /usr/bin/orbit-idl-2 ] || die "Please emerge =gnome-base/orbit-${P} on the host system first" + G2CONF+=" --with-idl-compiler=/usr/bin/orbit-idl-2" + fi gnome2_src_compile }