[71295] trunk/dports/textproc/libebml/Portfile

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


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

Modified Paths:
--------------
    trunk/dports/textproc/libebml/Portfile

Modified: trunk/dports/textproc/libebml/Portfile
===================================================================
--- trunk/dports/textproc/libebml/Portfile	2010-09-07 23:45:57 UTC (rev 71294)
+++ trunk/dports/textproc/libebml/Portfile	2010-09-07 23:52:00 UTC (rev 71295)
@@ -26,9 +26,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}
+                    CXX=${configure.cxx} \
+                    CXXFLAGS="${archflags}"
 
 # We need -p for install because ld will ask for ranlib if the modification date changes.
 destroot.args       INSTALL_OPTS_LIB='-m 644 -p'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100907/ac09c3f4/attachment.html>


More information about the macports-changes mailing list