[145863] trunk/dports/net/kerberos5/Portfile
jmr at macports.org
jmr at macports.org
Fri Feb 19 07:55:21 PST 2016
Revision: 145863
https://trac.macports.org/changeset/145863
Author: jmr at macports.org
Date: 2016-02-19 07:55:21 -0800 (Fri, 19 Feb 2016)
Log Message:
-----------
kerberos5: fix logic for deciding if we're building for i386, and just change optflags in that case, which works according to a user on IRC who was seeing the build failure
Modified Paths:
--------------
trunk/dports/net/kerberos5/Portfile
Modified: trunk/dports/net/kerberos5/Portfile
===================================================================
--- trunk/dports/net/kerberos5/Portfile 2016-02-19 15:20:55 UTC (rev 145862)
+++ trunk/dports/net/kerberos5/Portfile 2016-02-19 15:55:21 UTC (rev 145863)
@@ -70,8 +70,8 @@
compiler.blacklist-append {clang <= 318.0.61}
# i386 linking fails on SL with gcc-4.2 from XCode 3.2.6
-if {[lsearch ${universal_archs} i386] != -1} {
- compiler.blacklist-append gcc-4.2 apple-gcc-4.2
+if {$build_arch eq "i386" || ([variant_isset universal] && "i386" in $universal_archs)} {
+ configure.optflags -O2
}
post-configure {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160219/351da82c/attachment.html>
More information about the macports-changes
mailing list