Revision
104711
Author
jeremyhu@macports.org
Date
2013-04-01 00:42:34 -0700 (Mon, 01 Apr 2013)

Log Message

kerberos5: Add some compiler blacklisting for Snow Leopard build failures

Modified Paths

Diff

Modified: trunk/dports/net/kerberos5/Portfile (104710 => 104711)


--- trunk/dports/net/kerberos5/Portfile	2013-04-01 07:14:04 UTC (rev 104710)
+++ trunk/dports/net/kerberos5/Portfile	2013-04-01 07:42:34 UTC (rev 104711)
@@ -3,6 +3,7 @@
 
 PortSystem                  1.0
 PortGroup                   github 1.0
+PortGroup                   compiler_blacklist_versions 1.0
 
 github.setup                krb5 krb5 1.11.1-final krb5-
 name                        kerberos5
@@ -53,6 +54,14 @@
                             --without-system-verto \
                             --without-system-ss
 
+# configure fails using clang-77 from XCode 3.2.6
+compiler.blacklist-append {clang < 137}
+
+# 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
+}
+
 post-configure {
     reinplace -E {s|-arch [^ ]+||g} \
         ${worksrcpath}/krb5-config