[52746] trunk/dports/multimedia/x264/Portfile

devans at macports.org devans at macports.org
Mon Jun 22 10:19:05 PDT 2009


Revision: 52746
          http://trac.macports.org/changeset/52746
Author:   devans at macports.org
Date:     2009-06-22 10:19:04 -0700 (Mon, 22 Jun 2009)
Log Message:
-----------
x264: disable asm optimizations by default since they continue to be problematic (#19835). Can be enabled using +asm variant.

Modified Paths:
--------------
    trunk/dports/multimedia/x264/Portfile

Modified: trunk/dports/multimedia/x264/Portfile
===================================================================
--- trunk/dports/multimedia/x264/Portfile	2009-06-22 16:55:27 UTC (rev 52745)
+++ trunk/dports/multimedia/x264/Portfile	2009-06-22 17:19:04 UTC (rev 52746)
@@ -5,6 +5,7 @@
 
 name		x264
 version		20090408
+revision        1
 categories	multimedia
 platforms	darwin
 maintainers	devans openmaintainer
@@ -24,8 +25,6 @@
 
 use_bzip2	yes
 
-depends_build	port:yasm
-
 pre-extract {
     if {"darwin" == ${os.platform} && 9 == ${os.major}} {
         set minimum_xcodeversion 3.1
@@ -38,7 +37,7 @@
 }
 
 configure.args \
-		--enable-pthread --enable-pic --enable-shared
+		--enable-pthread --enable-pic --enable-shared --disable-asm
 
 configure.cflags-append -I. -fno-common -read_only_relocs suppress
 
@@ -46,9 +45,15 @@
 
 build.target	default
 
-variant noasm description {disable assembler optimization and remove yasm dep} {
-	depends_build-delete	port:yasm
-	configure.args-append	--disable-asm
+#
+# intel assembler optimizations using yasm continue
+# to exhibit problems in some cases (see #19835)
+# disable by default but can be enabled using +asm variant for the adventurous
+#
+
+variant asm description {enable intel assembler optimizations (experimental)} {
+	depends_build-append    port:yasm
+	configure.args-delete   --disable-asm
 }
 
 variant G5 description {G5 specific optimizations} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090622/f0f148f9/attachment.html>


More information about the macports-changes mailing list