[83776] trunk/dports/math/ploticus/Portfile

jmr at macports.org jmr at macports.org
Sat Sep 10 14:09:23 PDT 2011


Revision: 83776
          http://trac.macports.org/changeset/83776
Author:   jmr at macports.org
Date:     2011-09-10 14:09:23 -0700 (Sat, 10 Sep 2011)
Log Message:
-----------
ploticus: use get_canonical_archflags

Modified Paths:
--------------
    trunk/dports/math/ploticus/Portfile

Modified: trunk/dports/math/ploticus/Portfile
===================================================================
--- trunk/dports/math/ploticus/Portfile	2011-09-10 21:07:51 UTC (rev 83775)
+++ trunk/dports/math/ploticus/Portfile	2011-09-10 21:09:23 UTC (rev 83776)
@@ -36,16 +36,11 @@
 use_configure    no
 
 variant universal {}
-if {[variant_isset universal]} {
-    set archflags ${configure.universal_cflags}
-} else {
-    set archflags ${configure.cc_archflags}
-}
 
 build.dir        ${worksrcpath}/src
 build.target
 build.args       PREFIX=${prefix} \
-                 CC="${configure.cc} ${archflags}"
+                 CC="${configure.cc} [get_canonical_archflags]"
 
 destroot.args    PREFIX=${prefix}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110910/a7c18516/attachment.html>


More information about the macports-changes mailing list