[99418] trunk/dports/multimedia
jeremyhu at macports.org
jeremyhu at macports.org
Sun Nov 4 11:46:46 PST 2012
Revision: 99418
http://trac.macports.org//changeset/99418
Author: jeremyhu at macports.org
Date: 2012-11-04 11:46:46 -0800 (Sun, 04 Nov 2012)
Log Message:
-----------
ffmpeg*: Build fix for Tiger (#36877)
Modified Paths:
--------------
trunk/dports/multimedia/ffmpeg/Portfile
trunk/dports/multimedia/ffmpeg-devel/Portfile
Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile 2012-11-04 17:28:53 UTC (rev 99417)
+++ trunk/dports/multimedia/ffmpeg/Portfile 2012-11-04 19:46:46 UTC (rev 99418)
@@ -79,17 +79,15 @@
build.env-append V=1
#
-# enable auto configure of mmx and related Intel optimizations by default
+# enable auto configure of asm optimizations
# requires Xcode 3.1 or better on Leopard
#
minimum_xcodeversions {9 3.1}
-# And similarly, disable mmx on Tiger
+# And similarly, disable asm on Tiger
platform darwin {
if {${os.major} < 9} {
- default_variants -mmx
- } else {
- default_variants +mmx
+ configure.args-append --disable-asm
}
}
@@ -109,12 +107,6 @@
--enable-libmodplug \
--enable-libvpx \
--enable-libspeex \
- --disable-mmx \
- --disable-mmx2 \
- --disable-sse \
- --disable-ssse3 \
- --disable-amd3dnow \
- --disable-amd3dnowext \
--mandir=${prefix}/share/man \
--enable-shared --enable-pthreads \
--cc=${configure.cc}
@@ -169,10 +161,6 @@
}
}
-variant mmx description {enable all supported x86 asm optimizations} {
- configure.args-delete --disable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext
-}
-
variant gpl2 description {Enable GPL code, license will be GPL-2+} {
configure.args-append --enable-gpl \
--enable-postproc \
Modified: trunk/dports/multimedia/ffmpeg-devel/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg-devel/Portfile 2012-11-04 17:28:53 UTC (rev 99417)
+++ trunk/dports/multimedia/ffmpeg-devel/Portfile 2012-11-04 19:46:46 UTC (rev 99418)
@@ -85,17 +85,15 @@
build.env-append V=1
#
-# enable auto configure of mmx and related Intel optimizations by default
+# enable auto configure of asm optimizations
# requires Xcode 3.1 or better on Leopard
#
minimum_xcodeversions {9 3.1}
-# And similarly, disable mmx on Tiger
+# And similarly, disable asm on Tiger
platform darwin {
if {${os.major} < 9} {
- default_variants -mmx
- } else {
- default_variants +mmx
+ configure.args-append --disable-asm
}
}
@@ -115,12 +113,6 @@
--enable-libmodplug \
--enable-libvpx \
--enable-libspeex \
- --disable-mmx \
- --disable-mmx2 \
- --disable-sse \
- --disable-ssse3 \
- --disable-amd3dnow \
- --disable-amd3dnowext \
--mandir=${prefix}/share/man \
--enable-shared --enable-pthreads \
--cc=${configure.cc}
@@ -175,10 +167,6 @@
}
}
-variant mmx description {enable all supported x86 asm optimizations} {
- configure.args-delete --disable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext
-}
-
variant gpl2 description {Enable GPL code, license will be GPL-2+} {
configure.args-append --enable-gpl \
--enable-postproc \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121104/d3a3e50f/attachment.html>
More information about the macports-changes
mailing list