[71296] trunk/dports/multimedia/libmatroska/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Sep 7 16:52:11 PDT 2010


Revision: 71296
          http://trac.macports.org/changeset/71296
Author:   ryandesign at macports.org
Date:     2010-09-07 16:52:10 -0700 (Tue, 07 Sep 2010)
Log Message:
-----------
libmatroska: enable universal and non-default-build_arch builds; see #21154

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

Modified: trunk/dports/multimedia/libmatroska/Portfile
===================================================================
--- trunk/dports/multimedia/libmatroska/Portfile	2010-09-07 23:52:00 UTC (rev 71295)
+++ trunk/dports/multimedia/libmatroska/Portfile	2010-09-07 23:52:10 UTC (rev 71296)
@@ -29,9 +29,17 @@
 
 use_configure       no
 
+variant universal {}
+if {[variant_isset universal]} {
+    set archflags ${configure.universal_cxxflags}
+} else {
+    set archflags ${configure.cxx_archflags}
+}
+
 build.dir           ${worksrcpath}/make/darwin
 build.args          prefix=${prefix} \
                     CXX=${configure.cxx} \
+                    CXXFLAGS="${archflags}" \
                     LIBEBML_INCLUDE_DIR=${prefix}/include \
                     LIBEBML_LIB_DIR=${prefix}/lib
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100907/cd68b27e/attachment.html>


More information about the macports-changes mailing list