summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2004-02-18 17:40:01 +0000
committerMartin Schlemmer <azarah@gentoo.org>2004-02-18 17:40:01 +0000
commitdfc33d97aad78c81c34b85567245b165e5d1f4d7 (patch)
treeff332fae33570728aaa17cc9cd27ebaba8308a65 /media-sound/mpg123
parentFix the headers of the patch so it applies cleanly for everyone (Manifest rec... (diff)
downloadgentoo-2-dfc33d97aad78c81c34b85567245b165e5d1f4d7.tar.gz
gentoo-2-dfc33d97aad78c81c34b85567245b165e5d1f4d7.tar.bz2
gentoo-2-dfc33d97aad78c81c34b85567245b165e5d1f4d7.zip
Remove -m486 based on patch from Thomas Veith <th_veith@web.de>, closing bug
#41021. Also remove the added -O2, and fix build to always use our CFLAGS - there was an issue with USE=mmx that CFLAGS was not set.
Diffstat (limited to 'media-sound/mpg123')
-rw-r--r--media-sound/mpg123/ChangeLog7
-rw-r--r--media-sound/mpg123/mpg123-0.59s-r2.ebuild8
2 files changed, 12 insertions, 3 deletions
diff --git a/media-sound/mpg123/ChangeLog b/media-sound/mpg123/ChangeLog
index c163c538ce85..4da96541a279 100644
--- a/media-sound/mpg123/ChangeLog
+++ b/media-sound/mpg123/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/mpg123
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.35 2004/02/18 11:40:44 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.36 2004/02/18 17:40:01 azarah Exp $
+
+ 18 Feb 2004; Martin Schlemmer <azarah@gentoo.org> mpg123-0.59s-r2.ebuild:
+ Remove -m486 based on patch from Thomas Veith <th_veith@web.de>, closing bug
+ #41021. Also remove the added -O2, and fix build to always use our CFLAGS -
+ there was an issue with USE=mmx that CFLAGS was not set.
18 Feb 2004; Martin Holzer <mholzer@gentoo.org> mpg123-0.59s-r2.ebuild:
adding IUSE. Closes 41890
diff --git a/media-sound/mpg123/mpg123-0.59s-r2.ebuild b/media-sound/mpg123/mpg123-0.59s-r2.ebuild
index d5510a3956f2..18abcf114b42 100644
--- a/media-sound/mpg123/mpg123-0.59s-r2.ebuild
+++ b/media-sound/mpg123/mpg123-0.59s-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-0.59s-r2.ebuild,v 1.6 2004/02/18 11:40:44 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-0.59s-r2.ebuild,v 1.7 2004/02/18 17:40:01 azarah Exp $
inherit eutils
@@ -39,8 +39,12 @@ src_unpack() {
# Don't force gcc since icc/ccc might be possible
sed -i -e "s|CC=gcc||" Makefile
+ # Fix a glitch in the x86 related section of the Makefile
+ sed -i -e "s:-m486::g" Makefile
# Fix a glitch in the ppc-related section of the Makefile
sed -i -e "s:-mcpu=ppc::" Makefile
+ # Make sure we use our CFLAGS
+ sed -i -e "s:-O2::g" Makefile
}
src_compile() {
@@ -61,7 +65,7 @@ src_compile() {
style="-generic";;
esac
- make linux${style} RPM_OPT_FLAGS="${CFLAGS}" || die
+ make linux${style} CFLAGS="${CFLAGS}" || die
}
src_install() {