--- orbit-2.14.17.ebuild.old 2009-03-17 00:55:31.000000000 +0200 +++ orbit-2.14.17.ebuild 2009-03-17 02:28:41.000000000 +0200 @@ -4,7 +4,7 @@ GCONF_DEBUG="no" -inherit gnome2 +inherit gnome2 toolchain-funcs MY_P="ORBit2-${PV}" PVP=(${PV//[-\._]/ }) @@ -34,7 +34,15 @@ # for more information. Please don't remove -- 8/18/06 unset IDL_DIR - gnome2_src_compile + myconf="" + if tc-is-cross-compiler; then + # check that host version is present and runs successfully + [ -x /usr/bin/orbit-idl-2 ] \ + || die "Please emerge gnome-base/orbit on your host system" + myconf="--with-idl-compiler=/usr/bin/orbit-idl-2"; + fi + econf ${myconf} + emake } src_test() {