[Lunar-commits] <moonbase> libmad: A little adjustment to the BUILD.

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Sun Apr 18 16:09:14 CEST 2010


commit a6bc779efad8777d25b95fde7be5b5ac290a1ece
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Sun Apr 18 10:09:14 2010 -0400

    libmad: A little adjustment to the BUILD.
---
 audio/libmad/BUILD |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/audio/libmad/BUILD b/audio/libmad/BUILD
index 736832b..ae9336b 100644
--- a/audio/libmad/BUILD
+++ b/audio/libmad/BUILD
@@ -1,10 +1,17 @@
 (
-  OPTS="$OPTS  --disable-debugging --enable-accuracy"
+
+  OPTS="$OPTS  --disable-debugging --enable-accuracy" &&
+
+  if [ `arch` == "x86_64" ] ; then
+    OPTS="--enable-fpm=64bit"
+   else
+    OPTS="--enable-fpm=intel"
+  fi &&
 
   patch_it $SOURCE2 1 &&
 
   #GCC 4.3 doesn't have -fforce-mem
-  sedit 's:-fforce-mem::g' configure.ac
+  sedit 's:-fforce-mem::g' configure.ac &&
 
   libtoolize --force --copy &&
   aclocal &&


More information about the Lunar-commits mailing list