[89251] trunk/dports/net/iodine/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Jan 21 16:57:30 PST 2012


Revision: 89251
          http://trac.macports.org/changeset/89251
Author:   ryandesign at macports.org
Date:     2012-01-21 16:57:30 -0800 (Sat, 21 Jan 2012)
Log Message:
-----------
iodine: use the right -arch flags; add universal variant

Modified Paths:
--------------
    trunk/dports/net/iodine/Portfile

Modified: trunk/dports/net/iodine/Portfile
===================================================================
--- trunk/dports/net/iodine/Portfile	2012-01-22 00:55:40 UTC (rev 89250)
+++ trunk/dports/net/iodine/Portfile	2012-01-22 00:57:30 UTC (rev 89251)
@@ -31,8 +31,8 @@
 
 use_configure       no
 
-# Iodine has no configure script so we pass in CC/CXX/CPP at build time.
-# http://trac.macports.org/wiki/UsingTheRightCompiler
-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}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120121/10f94cdf/attachment-0001.html>


More information about the macports-changes mailing list