[82528] trunk/dports/net/whois/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Aug 15 02:27:36 PDT 2011


Revision: 82528
          http://trac.macports.org/changeset/82528
Author:   ryandesign at macports.org
Date:     2011-08-15 02:27:35 -0700 (Mon, 15 Aug 2011)
Log Message:
-----------
whois: simplify arch handling

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

Modified: trunk/dports/net/whois/Portfile
===================================================================
--- trunk/dports/net/whois/Portfile	2011-08-15 09:25:14 UTC (rev 82527)
+++ trunk/dports/net/whois/Portfile	2011-08-15 09:27:35 UTC (rev 82528)
@@ -65,14 +65,9 @@
 }
 
 variant universal {}
-if {[variant_isset universal]} {
-    set archflags ${configure.universal_cflags}
-} else {
-    set archflags ${configure.cc_archflags}
-}
 
 build.target-append         pos
-build.env                   CC="${configure.cc} ${archflags}" \
+build.env                   CC="${configure.cc} [get_canonical_archflags]" \
                             CONFIG_FILE=${prefix}/etc/whois.conf \
                             HAVE_LIBIDN=1 \
                             HAVE_ICONV=1 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110815/2dfa692c/attachment.html>


More information about the macports-changes mailing list