freebsd-ports/audio/mad/files/patch-aa
Mario Sergio Fujikawa Ferreira 8b5d6fc1d8 New port audio/mad, a High-quality MPEG audio decoder.
PR:		22950
Submitted by:	Jason R. Mastaler <jason-freebsd@mastaler.com>
2000-12-19 15:39:12 +00:00

37 lines
1.2 KiB
Text

This port is not CFLAGS safe. I will not try to make it on this
particular version. However, I will make it use -O instead of -O2
since I am told that -O2 brakes the alpha ARCH. Partially provided
by lioux@freebsd.org
--- configure.orig Fri Nov 17 04:20:18 2000
+++ configure Sun Nov 26 22:56:39 2000
@@ -3800,7 +3800,8 @@
then
case "$host" in
i386-*) ARCH="" ;;
- i?86-*) ARCH="-m486" ;;
+ i486-*) ARCH="-m486" ;;
+ i586-*) ARCH="-mpentium" ;;
arm-empeg-*) ARCH="-march=armv4 -mtune=strongarm1100" ;;
armv4*-*) ARCH="-march=armv4 -mtune=strongarm" ;;
mips*-*) ARCH="" ;;
@@ -3813,7 +3814,7 @@
esac
case "$CFLAGS" in
- *-O*) OPTIMIZER="-O2" ;;
+ *-O*) OPTIMIZER="-O" ;;
esac
CFLAGS=`echo ".$CFLAGS" | \
@@ -5439,10 +5440,6 @@
*) # Relative path.
ac_sub_cache_file="$ac_dots$cache_file" ;;
esac
- case "$ac_given_INSTALL" in
- [/$]*) INSTALL="$ac_given_INSTALL" ;;
- *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
- esac
echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
# The eval makes quoting arguments work.