[79430] trunk/dports/mail/pop3proxy/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Jun 13 01:36:29 PDT 2011


Revision: 79430
          http://trac.macports.org/changeset/79430
Author:   ryandesign at macports.org
Date:     2011-06-13 01:36:29 -0700 (Mon, 13 Jun 2011)
Log Message:
-----------
pop3proxy: add universal variant

Modified Paths:
--------------
    trunk/dports/mail/pop3proxy/Portfile

Modified: trunk/dports/mail/pop3proxy/Portfile
===================================================================
--- trunk/dports/mail/pop3proxy/Portfile	2011-06-13 08:34:41 UTC (rev 79429)
+++ trunk/dports/mail/pop3proxy/Portfile	2011-06-13 08:36:29 UTC (rev 79430)
@@ -31,8 +31,15 @@
 
 use_configure       no
 
-build.args          CC="${configure.cc} ${configure.cc_archflags}"
+variant universal {}
+if {[variant_isset universal]} {
+    set archflags ${configure.universal_cflags}
+} else {
+    set archflags ${configure.cc_archflags}
+}
 
+build.args          CC="${configure.cc} ${archflags}"
+
 destroot.destdir    prefix=${destroot}${prefix}
 
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110613/6434573a/attachment.html>


More information about the macports-changes mailing list