--- media-sound/mpg123/mpg123-0.59s-r11.ebuild 2006-09-06 15:43:15.000000000 +0200 +++ media-sound/mpg123/mpg123-0.59s-r12.ebuild 2006-10-11 03:54:50.000000000 +0200 @@ -58,6 +58,16 @@ # Bug #130577 perl -e 'my @text = ; my $str = join "",@text; $str =~ s/\\\n//gs; print $str' < Makefile > Makefile.fixed mv Makefile.fixed Makefile + + # Bug #113414 + sed \ + -e 's|-O[0-9]||g' \ + -e 's|-funroll-loops||g' \ + -e 's|-funroll-all-loops||g' \ + -e 's|-finline-functions||g' \ + -e 's|-fomit-frame-pointer||g' \ + -e 's|-ffast-math||g' \ + -i Makefile } src_compile() { @@ -130,7 +140,10 @@ for style in ${styles}; do - emake -j1 clean ${atype}${style} CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die + emake -j1 clean ${atype}${style} \ + CFLAGS="${CFLAGS}" \ + AS="$(tc-getAS)" \ + CC="$(tc-getCC)" || die mv mpg123 gentoo-bin/mpg123${style} [[ -L "gentoo-bin/mpg123" ]] && rm gentoo-bin/mpg123 ln -s mpg123${style} gentoo-bin/mpg123