Author: glen                         Date: Mon Oct 17 14:57:27 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- make mmx bcond

---- Files affected:
SPECS:
   mythtv.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/mythtv.spec
diff -u SPECS/mythtv.spec:1.38 SPECS/mythtv.spec:1.39
--- SPECS/mythtv.spec:1.38      Mon Oct 17 16:15:53 2005
+++ SPECS/mythtv.spec   Mon Oct 17 16:57:22 2005
@@ -25,6 +25,14 @@
 %bcond_with    ivtv            # ivtv support (PVR-250, PVR-350) NFY
 %bcond_with    firewire        # ieee1394 (NFY)
 %bcond_without xvmc            # do not use XvMCW
+%bcond_with    mmx                     # enable mmx
+
+# enable mmx automatically on arches having it
+%ifarch %{ix86} %{x8664}
+%ifnarch i386 i486 i586 i686
+%define        with_mmx 1
+%endif
+%endif
 
 Summary:       A personal video recorder (PVR) application
 Summary(pl):   Osobista aplikacja do nagrywania obrazu (PVR)
@@ -281,17 +289,15 @@
 %else
     %ifarch %{ix86}
                %ifarch athlon
-                       --arch=athlon --enable-mmx \
+                       --arch=athlon
                %else
                        --cpu=i386 --tune=pentium4 \
-                       %ifnarch i386 i486 i586 i686
-                               --enable-mmx \
-                       %endif
                %endif
     %endif
     %ifarch %{x8664}
-       --arch=x86_64 --enable-mmx \
+       --arch=x86_64
     %endif
+       %{?with_mmx:--enable-mmx} \
 %endif
        --%{?with_arts:en}%{!?with_arts:dis}able-audio-arts \
        --%{?with_alsa:en}%{!?with_alsa:dis}able-audio-alsa \
@@ -441,6 +447,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2005/10/17 14:57:22  glen
+- make mmx bcond
+
 Revision 1.38  2005/10/17 14:15:53  qboosh
 - not all i686 have mmx too (note Pentium Pro)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mythtv.spec?r1=1.38&r2=1.39&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to