Revision
117575
Author
jeremyhu@macports.org
Date
2014-03-03 23:59:13 -0800 (Mon, 03 Mar 2014)

Log Message

x264: clang build fix

Modified Paths

Diff

Modified: trunk/dports/multimedia/x264/Portfile (117574 => 117575)


--- trunk/dports/multimedia/x264/Portfile	2014-03-04 03:02:37 UTC (rev 117574)
+++ trunk/dports/multimedia/x264/Portfile	2014-03-04 07:59:13 UTC (rev 117575)
@@ -93,4 +93,10 @@
     default_variants +asm
 }
 
+post-patch {
+    if {[string match "*clang*" ${configure.compiler}]} {
+        reinplace "s|-falign-loops=16||g" ${worksrcpath}/configure
+    }
+}
+
 livecheck.type  none