[99748] trunk/dports/graphics/ipe/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Nov 15 14:02:30 PST 2012


Revision: 99748
          https://trac.macports.org/changeset/99748
Author:   ryandesign at macports.org
Date:     2012-11-15 14:02:30 -0800 (Thu, 15 Nov 2012)
Log Message:
-----------
ipe: simplify getting -arch flags

Modified Paths:
--------------
    trunk/dports/graphics/ipe/Portfile

Modified: trunk/dports/graphics/ipe/Portfile
===================================================================
--- trunk/dports/graphics/ipe/Portfile	2012-11-15 21:53:50 UTC (rev 99747)
+++ trunk/dports/graphics/ipe/Portfile	2012-11-15 22:02:30 UTC (rev 99748)
@@ -33,18 +33,11 @@
 
 use_configure           no
 
-variant    universal {
-}
+variant universal {}
 
-if {[variant_isset universal]} {
-    build.env           CXXFLAGS="${configure.universal_cflags}" \
-                        LDFLAGS="${configure.universal_cflags}"
-} else {
+build.env               CXXFLAGS="[get_canonical_archflags cxx]" \
+                        LDFLAGS="[get_canonical_archflags ld]"
 
-    build.env           CXXFLAGS="${configure.cxx_archflags}" \
-                        LDFLAGS="${configure.ld_archflags}"
-}
-
 build.args              IPEPREFIX=${prefix} \
                         ZLIB_CFLAGS="`pkg-config --cflags zlib`" \
                         ZLIB_LIBS="`pkg-config --libs zlib`" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121115/a2d344c7/attachment-0001.html>


More information about the macports-changes mailing list