summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavoz@gentoo.org>2004-03-29 18:54:53 +0000
committerGustavo Zacarias <gustavoz@gentoo.org>2004-03-29 18:54:53 +0000
commit761a532ac3ca0f850bab4efc725b25d8bccf0a02 (patch)
tree42e161fdf28c29c792fd285d940a82fc59c266d9 /media-libs/libmad/libmad-0.15.1b.ebuild
parentrepoman: Trim trailing whitespace (diff)
downloadhistorical-761a532ac3ca0f850bab4efc725b25d8bccf0a02.tar.gz
historical-761a532ac3ca0f850bab4efc725b25d8bccf0a02.tar.bz2
historical-761a532ac3ca0f850bab4efc725b25d8bccf0a02.zip
fix for b0rked sound on sparc
Diffstat (limited to 'media-libs/libmad/libmad-0.15.1b.ebuild')
-rw-r--r--media-libs/libmad/libmad-0.15.1b.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/media-libs/libmad/libmad-0.15.1b.ebuild b/media-libs/libmad/libmad-0.15.1b.ebuild
index b3e855e214a4..09e840b3d6a2 100644
--- a/media-libs/libmad/libmad-0.15.1b.ebuild
+++ b/media-libs/libmad/libmad-0.15.1b.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-libs/libmad/libmad-0.15.1b.ebuild,v 1.3 2004/03/26 19:23:18 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/libmad-0.15.1b.ebuild,v 1.4 2004/03/29 18:54:53 gustavoz Exp $
IUSE="debug"
@@ -24,6 +24,10 @@ src_compile() {
# --enable-experimental enable code using the EXPERIMENTAL
# preprocessor define
+ # Fix for b0rked sound on sparc64 (maybe also sparc32?)
+ # default/approx is also possible, uses less cpu but sounds worse
+ [ "$PROFILE_ARCH" = "sparc64" ] && myconf="${myconf} --enable-fpm=64bit"
+
use debug && myconf="${myconf} --enable-debugging" \
|| myconf="${myconf} --disable-debugging"