[54025] trunk/dports/multimedia/mpeg2vidcodec/Portfile

takeshi at macports.org takeshi at macports.org
Sun Jul 19 00:22:54 PDT 2009


Revision: 54025
          http://trac.macports.org/changeset/54025
Author:   takeshi at macports.org
Date:     2009-07-19 00:22:52 -0700 (Sun, 19 Jul 2009)
Log Message:
-----------
mpeg2vidcodec: enabled +universal

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

Modified: trunk/dports/multimedia/mpeg2vidcodec/Portfile
===================================================================
--- trunk/dports/multimedia/mpeg2vidcodec/Portfile	2009-07-19 05:53:18 UTC (rev 54024)
+++ trunk/dports/multimedia/mpeg2vidcodec/Portfile	2009-07-19 07:22:52 UTC (rev 54025)
@@ -36,6 +36,10 @@
 
 configure {
     reinplace "s|CC = gcc|CC = ${configure.cc}|" ${worksrcpath}/Makefile
+    if {[variant_isset universal]} {
+        reinplace "s|CFLAGS = -O2|CFLAGS = -O2 ${configure.universal_cflags}|" \
+            ${worksrcpath}/Makefile
+    }    
 }
 
 destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090719/d2a74c1f/attachment.html>


More information about the macports-changes mailing list