[109097] trunk/dports/textproc/sword/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Aug 7 17:51:05 PDT 2013


Revision: 109097
          https://trac.macports.org/changeset/109097
Author:   jeremyhu at macports.org
Date:     2013-08-07 17:51:05 -0700 (Wed, 07 Aug 2013)
Log Message:
-----------
sword: Use compiler.blacklist

Modified Paths:
--------------
    trunk/dports/textproc/sword/Portfile

Modified: trunk/dports/textproc/sword/Portfile
===================================================================
--- trunk/dports/textproc/sword/Portfile	2013-08-08 00:49:56 UTC (rev 109096)
+++ trunk/dports/textproc/sword/Portfile	2013-08-08 00:51:05 UTC (rev 109097)
@@ -35,16 +35,12 @@
 patchfiles      patch-automake-1.13.diff \
                 patch-curl-types.diff
 
-# fails to build with clang, probably incorrect code
+# llvm-gcc-4.2 hangs
+compiler.blacklist llvm-gcc-4.2 macports-llvm-gcc-4.2
+
+# Buggy C++
 # ../include/multimapwdef.h:22:7: error: use of undeclared identifier 'find'
-# llvm-gcc-4.2 actually hangs
-if {${configure.compiler} == "clang" || ${configure.compiler} == "llvm-gcc-4.2"} {
-    configure.compiler gcc-4.2
-    if {![file executable ${configure.cc}]} {
-        depends_build-append port:apple-gcc42
-        configure.compiler apple-gcc-4.2
-    }
-}
+compiler.blacklist-append clang
 
 pre-configure {
     system "cd ${worksrcpath} && env LTIZE=${prefix}/bin/glibtoolize ./autogen.sh"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130807/b9d201ce/attachment.html>


More information about the macports-changes mailing list