--- /usr/portage/eclass/x-modular.eclass 2007-05-02 03:37:47.000000000 -0400 +++ x-modular.eclass 2007-05-13 13:00:29.000000000 -0400 @@ -324,7 +324,7 @@ x-modular_debug_setup # If prefix isn't set here, .pc files cause problems - if [[ -x ./configure ]]; then + if [[ -x ${ECONF_SOURCE:-.}/configure ]]; then econf --prefix=${XDIR} \ --datadir=${XDIR}/share \ ${FONT_OPTIONS} \