Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 113414 | Differences between
and this patch

Collapse All | Expand All

(-)media-sound/mpg123/mpg123-0.59s-r11.ebuild (-1 / +14 lines)
Lines 58-63 Link Here
58
	# Bug #130577
58
	# Bug #130577
59
	perl -e 'my @text = <STDIN>; my $str = join "",@text; $str =~ s/\\\n//gs; print $str' < Makefile > Makefile.fixed
59
	perl -e 'my @text = <STDIN>; my $str = join "",@text; $str =~ s/\\\n//gs; print $str' < Makefile > Makefile.fixed
60
	mv Makefile.fixed Makefile
60
	mv Makefile.fixed Makefile
61
62
	# Bug #113414
63
	sed \
64
		-e 's|-O[0-9]||g' \
65
		-e 's|-funroll-loops||g' \
66
		-e 's|-funroll-all-loops||g' \
67
		-e 's|-finline-functions||g' \
68
		-e 's|-fomit-frame-pointer||g' \
69
		-e 's|-ffast-math||g' \
70
		-i Makefile
61
}
71
}
62
72
63
src_compile() {
73
src_compile() {
Lines 130-136 Link Here
130
140
131
	for style in ${styles};
141
	for style in ${styles};
132
	do
142
	do
133
		emake -j1 clean ${atype}${style} CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die
143
		emake -j1 clean ${atype}${style} \
144
			CFLAGS="${CFLAGS}" \
145
			AS="$(tc-getAS)" \
146
			CC="$(tc-getCC)" || die
134
		mv mpg123 gentoo-bin/mpg123${style}
147
		mv mpg123 gentoo-bin/mpg123${style}
135
		[[ -L "gentoo-bin/mpg123" ]] && rm gentoo-bin/mpg123
148
		[[ -L "gentoo-bin/mpg123" ]] && rm gentoo-bin/mpg123
136
		ln -s mpg123${style} gentoo-bin/mpg123
149
		ln -s mpg123${style} gentoo-bin/mpg123

Return to bug 113414