[148618] trunk/dports/perl/p5-b-c/Portfile
devans at macports.org
devans at macports.org
Thu May 12 17:35:09 PDT 2016
Revision: 148618
https://trac.macports.org/changeset/148618
Author: devans at macports.org
Date: 2016-05-12 17:35:09 -0700 (Thu, 12 May 2016)
Log Message:
-----------
p5-b-c: attempt to fix 10.6 build, blacklist compilers that do not support C11 typedef redefinition (#51380).
Modified Paths:
--------------
trunk/dports/perl/p5-b-c/Portfile
Modified: trunk/dports/perl/p5-b-c/Portfile
===================================================================
--- trunk/dports/perl/p5-b-c/Portfile 2016-05-12 23:49:54 UTC (rev 148617)
+++ trunk/dports/perl/p5-b-c/Portfile 2016-05-13 00:35:09 UTC (rev 148618)
@@ -2,6 +2,7 @@
# $Id$
PortSystem 1.0
+PortGroup compiler_blacklist_versions 1.0
PortGroup perl5 1.0
perl5.branches 5.22 5.24
@@ -16,6 +17,11 @@
checksums rmd160 666ac5f78a1e132658a0b8e14849f72ab2ed1201 \
sha256 d07e5af5fb798fcd3f4eda5e40744a14c1b3ef9e585a7dca55b5db31cb1d28d3
+# blacklist compilers that do not support C11 typedef redefinition
+# redefinition of typedef 'I64' at /opt/local/lib/perl5/5.24/darwin-thread-multi-2level/CORE/handy.h:178
+# redefinition of typedef 'U64' at /opt/local/lib/perl5/5.24/darwin-thread-multi-2level/CORE/handy.h:179
+compiler.blacklist *gcc* {clang < 300}
+
if {${perl5.major} != ""} {
depends_build-append \
port:p${perl5.major}-ev \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160512/110a4d27/attachment.html>
More information about the macports-changes
mailing list