--- orbit-2.14.19-r3.ebuild +++ orbit-2.14.19-r3.ebuild @@ -66,8 +66,8 @@ # We need to use the hosts IDL compiler if cross-compiling, bug #262741 if tc-is-cross-compiler; then # check that host version is present and executable - [ -x /usr/bin/orbit-idl-2 ] || die "Please emerge ~${CATEGORY}/${P} on the host system first" - G2CONF="${G2CONF} --with-idl-compiler=/usr/bin/orbit-idl-2" + [ -x "${EPREFIX}"/usr/bin/orbit-idl-2 ] || die "Please emerge ~${CATEGORY}/${P} on the host system first" + G2CONF="${G2CONF} --with-idl-compiler=${EPREFIX}/usr/bin/orbit-idl-2" fi gnome2_src_configure \ $(use_enable pic libname-server-pic) \