the current code in econf is this: for x in $(find ${S} -type f -name config.guess -o -name config.sub) ; do einfo "econf: updating $x with /usr/share/gnuconfig/$(/bin/basename ${x})" cp /usr/share/gnuconfig/$(/bin/basename ${x}) ${x} done that should run find on ${WORKDIR} instead of ${S} also, as a graphical nitpick, it should do 'updating ${x/${WORKDIR}\/}' instead of 'updating $x' that way you dont get things like: * econf: updating /var/tmp/portage/module-init-tools-3.1/work/module-init-tools-3.1/config.guess with /usr/share/gnuconfig/config.guess it'd look like this instead: * econf: updating module-init-tools-3.1/config.guess with /usr/share/gnuconfig/config.guess
Created attachment 44649 [details, diff] ebuild.sh.autoconfig.patch i think this should do it (didnt test though :P)
We should probably make the 'einfo' in this area of code use 'echo' something like + echo ">>> autoconfig: updating ${x/${WORKDIR}\/} with /usr/share/gnuconfig/$(/bin/basename ${x})"
this has been released