[102300] trunk/dports/lang/mercury/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Wed Jan 30 00:55:53 PST 2013
Revision: 102300
https://trac.macports.org/changeset/102300
Author: jeremyhu at macports.org
Date: 2013-01-30 00:55:53 -0800 (Wed, 30 Jan 2013)
Log Message:
-----------
mercury: Convert to using compiler.blacklist
Modified Paths:
--------------
trunk/dports/lang/mercury/Portfile
Modified: trunk/dports/lang/mercury/Portfile
===================================================================
--- trunk/dports/lang/mercury/Portfile 2013-01-30 08:54:02 UTC (rev 102299)
+++ trunk/dports/lang/mercury/Portfile 2013-01-30 08:55:53 UTC (rev 102300)
@@ -48,15 +48,7 @@
# Release notes state that gcc-4.0 generates a broken mercury compiler
# llvm-gcc-4.2 fails to build
-if {${configure.compiler} == "gcc-4.0"} {
- configure.compiler gcc-4.2
- if {![file executable ${configure.cc}]} {
- depends_build-append port:apple-gcc42
- configure.compiler apple-gcc-4.2
- }
-} elseif {${configure.compiler} == "llvm-gcc-4.2"} {
- configure.compiler clang
-}
+compiler.blacklist-append gcc-4.0 apple-gcc-4.0 llvm-gcc-4.2 macports-llvm-gcc-4.2
# mercury doesn't honor $CFLAGS
configure.cc ${configure.cc} -std=gnu89
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130130/bbe4dc80/attachment.html>
More information about the macports-changes
mailing list