[98920] trunk/dports/science/exodriver/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Oct 20 17:32:27 PDT 2012


Revision: 98920
          http://trac.macports.org//changeset/98920
Author:   ryandesign at macports.org
Date:     2012-10-20 17:32:27 -0700 (Sat, 20 Oct 2012)
Log Message:
-----------
exodriver: ensure we're using the right -arch flags and add universal variant

Modified Paths:
--------------
    trunk/dports/science/exodriver/Portfile

Modified: trunk/dports/science/exodriver/Portfile
===================================================================
--- trunk/dports/science/exodriver/Portfile	2012-10-21 00:23:53 UTC (rev 98919)
+++ trunk/dports/science/exodriver/Portfile	2012-10-21 00:32:27 UTC (rev 98920)
@@ -27,8 +27,10 @@
 use_configure       no
 use_parallel_build  no
 
-build.args-append   CC=${configure.cc} \
-                    CXX=${configure.cxx} \
+variant universal {}
+
+build.args-append   CC="${configure.cc} [get_canonical_archflags cc]" \
+                    CXX="${configure.cxx} [get_canonical_archflags cxx]" \
                     CPP=${configure.cpp}
 
 post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121020/e8cf02f1/attachment-0001.html>


More information about the macports-changes mailing list