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

jeremyhu at macports.org jeremyhu at macports.org
Mon Mar 3 23:59:13 PST 2014


Revision: 117575
          https://trac.macports.org/changeset/117575
Author:   jeremyhu at macports.org
Date:     2014-03-03 23:59:13 -0800 (Mon, 03 Mar 2014)
Log Message:
-----------
x264: clang build fix

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

Modified: trunk/dports/multimedia/x264/Portfile
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140303/2d83d1ef/attachment.html>


More information about the macports-changes mailing list