[145911] trunk/dports/net/kerberos5/Portfile

jmr at macports.org jmr at macports.org
Sat Feb 20 01:08:44 PST 2016


Revision: 145911
          https://trac.macports.org/changeset/145911
Author:   jmr at macports.org
Date:     2016-02-20 01:08:43 -0800 (Sat, 20 Feb 2016)
Log Message:
-----------
kerberos5: only change optflags when using a gcc-4.2-based compiler

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

Modified: trunk/dports/net/kerberos5/Portfile
===================================================================
--- trunk/dports/net/kerberos5/Portfile	2016-02-20 05:14:23 UTC (rev 145910)
+++ trunk/dports/net/kerberos5/Portfile	2016-02-20 09:08:43 UTC (rev 145911)
@@ -71,7 +71,8 @@
 compiler.blacklist-append   {clang <= 318.0.61}
 
 # i386 linking fails on SL with gcc-4.2 from XCode 3.2.6
-if {$build_arch eq "i386" || ([variant_isset universal] && "i386" in $universal_archs)} {
+if {[string match *gcc-4.2 ${configure.compiler}] &&
+    ($build_arch eq "i386" || ([variant_isset universal] && "i386" in $universal_archs))} {
     configure.optflags -O2
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160220/7215ab38/attachment.html>


More information about the macports-changes mailing list