[91906] trunk/dports/textproc/sword/Portfile
jmr at macports.org
jmr at macports.org
Thu Apr 12 21:18:25 PDT 2012
Revision: 91906
https://trac.macports.org/changeset/91906
Author: jmr at macports.org
Date: 2012-04-12 21:18:25 -0700 (Thu, 12 Apr 2012)
Log Message:
-----------
sword: doesn't build with llvm-gcc-4.2 or clang
Modified Paths:
--------------
trunk/dports/textproc/sword/Portfile
Modified: trunk/dports/textproc/sword/Portfile
===================================================================
--- trunk/dports/textproc/sword/Portfile 2012-04-13 04:05:38 UTC (rev 91905)
+++ trunk/dports/textproc/sword/Portfile 2012-04-13 04:18:25 UTC (rev 91906)
@@ -32,6 +32,17 @@
port:openssl \
port:zlib
+# fails to build with clang, probably incorrect code
+# ../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
+ }
+}
+
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/20120412/28226330/attachment.html>
More information about the macports-changes
mailing list