summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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"