Revision
140756
Author
ryandesign@macports.org
Date
2015-10-01 21:43:15 -0700 (Thu, 01 Oct 2015)

Log Message

procmail: use get_canonical_archflags rather than reimplementing its functionality

Modified Paths

Diff

Modified: trunk/dports/mail/procmail/Portfile (140755 => 140756)


--- trunk/dports/mail/procmail/Portfile	2015-10-02 04:34:50 UTC (rev 140755)
+++ trunk/dports/mail/procmail/Portfile	2015-10-02 04:43:15 UTC (rev 140756)
@@ -80,13 +80,8 @@
 use_configure       no
 
 variant universal {}
-if {[variant_isset universal]} {
-    set archflags ${configure.universal_cflags}
-} else {
-    set archflags ${configure.cc_archflags}
-}
 
-build.env           CC="${configure.cc} ${archflags}"
+build.env           CC="${configure.cc} [get_canonical_archflags cc]"
 
 build.args          BASENAME=${destroot}${prefix} LOCKINGTEST=/tmp
 destroot.args       BASENAME=${destroot}${prefix} LOCKINGTEST=/tmp install-suid