diff options
author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-06-14 17:20:12 +0000 |
---|---|---|
committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-06-14 17:20:12 +0000 |
commit | 2992419fb5a9d1d49cc8329d7f71e309989e7731 (patch) | |
tree | 7d3f1d45b019716d3fe15f567e2de47f19a85d0e /audio/xmms-eq/files | |
parent | 591f4309d90702e738af9fa749b1f1af520eefd8 (diff) | |
download | ports-2992419fb5a9d1d49cc8329d7f71e309989e7731.tar.gz ports-2992419fb5a9d1d49cc8329d7f71e309989e7731.zip |
Notes
Diffstat (limited to 'audio/xmms-eq/files')
-rw-r--r-- | audio/xmms-eq/files/patch-configure | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/audio/xmms-eq/files/patch-configure b/audio/xmms-eq/files/patch-configure new file mode 100644 index 000000000000..5b635f1daf03 --- /dev/null +++ b/audio/xmms-eq/files/patch-configure @@ -0,0 +1,53 @@ +--- configure.orig Sun May 16 03:59:17 2004 ++++ configure Tue Jun 14 18:53:43 2005 +@@ -9690,9 +9690,9 @@ + + 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` ++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,6 @@ + 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" + if test "x$benchmark" = xyes; then + XF_CFLAGS="$XF_CFLAGS -DBENCHMARK" + fi +@@ -9775,6 +9754,9 @@ + ARCH_DEFINES_DEFAULT="-O3" + have_solaris=yes + ;; ++ *) ++ arch_type="unknown" ++ ;; + esac + fi + |