aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-eq/files/patch-configure
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-04-17 19:23:40 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-04-17 19:23:40 +0000
commit8e84e20a52ef6f75962e2f4e6153c4aae1e6fe8d (patch)
tree68e1882f30a4f2e5bc1c9058a031680b2cc8e00c /audio/xmms-eq/files/patch-configure
parentb1515bc1cd6beb6916b54082f94ed267615320e7 (diff)
downloadports-8e84e20a52ef6f75962e2f4e6153c4aae1e6fe8d.tar.gz
ports-8e84e20a52ef6f75962e2f4e6153c4aae1e6fe8d.zip
Notes
Diffstat (limited to 'audio/xmms-eq/files/patch-configure')
-rw-r--r--audio/xmms-eq/files/patch-configure79
1 files changed, 24 insertions, 55 deletions
diff --git a/audio/xmms-eq/files/patch-configure b/audio/xmms-eq/files/patch-configure
index 899d96e624fa..061c3e8bff53 100644
--- a/audio/xmms-eq/files/patch-configure
+++ b/audio/xmms-eq/files/patch-configure
@@ -1,56 +1,25 @@
---- configure.orig Sun May 16 03:59:17 2004
-+++ configure Thu Jun 30 02:09:17 2005
-@@ -9664,7 +9664,7 @@
- sse2=no
- fi;
+--- configure.orig Sun Oct 16 15:36:00 2005
++++ configure Wed Apr 12 23:30:52 2006
+@@ -21457,6 +21457,9 @@
+ case "$host" in
+ i386-*-freebsd*)
+ ARCH_DEFINES="-DARCH_X86"
++ if test "x$benchmark" = xyes -a -n "`grep '^CPU:.*[56]86-class' /var/run/dmesg.boot`"; then
++ XF_CFLAGS="$XF_CFLAGS -DBENCHMARK"
++ fi
+ ;;
+ i386-*-openbsd* | i386-*-netbsd*)
+ ARCH_DEFINES="-DARCH_X86"
+@@ -21527,9 +21530,9 @@
--ARCH_DEFINES_DEFAULT="-DARCH_X86"
-+ARCH_DEFINES_DEFAULT=""
- if test "x$debug" = xyes; then
- XF_CFLAGS="-Wall -g -O2 -DDEBUG $XF_CFLAGS"
- else
-@@ -9689,10 +9689,10 @@
- fi
-
- have_solaris=no
--arch_type=ix86
--SSE_RES=`cat /proc/cpuinfo|grep sse`
--SSE2_RES=`cat /proc/cpuinfo|grep sse2`
--MMX_RES=`cat /proc/cpuinfo|grep mmx`
-+arch_type=unknown
-+SSE_RES=`grep 'Features=.*[<,]SSE[>,]' /var/run/dmesg.boot`
-+SSE2_RES=`grep 'Features=.*[<,]SSE2[>,]' /var/run/dmesg.boot`
-+MMX_RES=`grep 'Features=.*[<,]MMX[>,]' /var/run/dmesg.boot`
- ARCH_DEFINES=""
-
- if test "x$mmx" = xyes; then
-@@ -9708,27 +9708,8 @@
- if test "x$debug" = xno; then
- case "$host" in
- i386-*-* | i86pc-*-*)
-- ;;
-- i486-*-*)
-- ARCH_DEFINES="-march=i486"
-- ;;
-- i586-*-*)
-- ARCH_DEFINES="-march=i586"
-- if test "x$benchmark" = xyes; then
-- XF_CFLAGS="$XF_CFLAGS -DBENCHMARK"
-- fi
-- if test "x$autodetect" = xyes; then
-- if test "x$MMX_RES" != x; then
-- mmx=yes
-- fi
-- fi
-- if test "x$mmx" = xyes; then
-- autodetect=no
-- ARCH_DEFINES="$ARCH_DEFINES -m3dnow -mmmx"
-- fi
-- ;;
-- i686-*-*)
-- ARCH_DEFINES="-march=i686"
-+ ARCH_DEFINES_DEFAULT="-DARCH_X86"
-+ arch_type=ix86
- if test "x$benchmark" = xyes; then
- XF_CFLAGS="$XF_CFLAGS -DBENCHMARK"
- fi
+ case "$host" in
+ i386-*-freebsd*)
+- SSE_RES=`grep 'Features=.*<,SSE>,' /var/run/dmesg.boot`
+- SSE2_RES=`grep 'Features=.*<,SSE2>,' /var/run/dmesg.boot`
+- MMX_RES=`grep 'Features=.*<,MMX>,' /var/run/dmesg.boot`
++ SSE_RES=`grep 'Features=.*[<,]SSE[>,]' /var/run/dmesg.boot`
++ SSE2_RES=`grep 'Features=.*[<,]SSE2[>,]' /var/run/dmesg.boot`
++ MMX_RES=`grep 'Features=.*[<,]MMX[>,]' /var/run/dmesg.boot`
+ ;;
+ i386-*-openbsd* | i386-*-netbsd*)
+ autodetect=no