The archive silver/zips/gcl-2.6.7 contains a configure-new.ac (and a corresponding configure.in and configure) which all have the false line system=MP-RAS-`${AWK} '{print $3}' /etc/.relid'` (the last ' is obviously false). For some reason, the line is "eaten" by bash (presumably with a false interpretation) but building definitely fails if /bin/sh is a symlink to dash (it dies with the expected "unterminated quoted string" error).
Now I see what is going wrong: Apparently there was a patch for this already by gentoo and by upstream, and the gentoo fix was removed because of the upstream patch. Unfortunately, the upstream patch is wrong, because it applies to "configure.in" without calling autotools, i.e. "configure" is still wrong. So the clean solution would probably be to call autotools for regenerating configure or to patch configure as well. But perhaps it is enough to make the upstream patch apply to "configure" instead of configure.in. So as a quick fix, the following will do in src_unpack(): sed -e "s:configure.in:configure:" \ -i zips/gcl-2.6.7.configure.in.patch
Thanks much for pointing this out. This should be fixed in portage cvs now. cheers, Markus