Created attachment 282759 [details, diff] ruby-1.8.7_p334-as_dir.patch Right after 'ebuild install' i've noticed dir named '"$as_dir"' work/ruby-1.8.7-p334$ ls -1dQ *as_dir* "\"$as_dir\"" Patch should be selfexplanatory. configure snippets: set var: if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi check var (wrong?): if $as_mkdir_p; then MAKEDIRS='mkdir -p' else MAKEDIRS='install -d' fi "fixed" as s/$as_mkdir_p/eval $as_mkdir_p/
This only applies to ruby 1.8.7 since ruby 1.9.3 requires mkdir -p to work (and uses a different check). Should be reported upstream. I don't really want to do a revision bump just for this change, so hopefully we'll pick it up in the next upstream revision.
This will be fixed in ruby 1.8.7-p370. Thanks for the report and patch. Not reported upstream since p370 is the last release in the 1.8 series.