Revision
80062
Author
jeremyhu@macports.org
Date
2011-07-03 10:02:46 -0700 (Sun, 03 Jul 2011)

Log Message

libgcrypt: Fall back on llvm-gcc from clang for now

Modified Paths

Diff

Modified: trunk/dports/devel/libgcrypt/Portfile (80061 => 80062)


--- trunk/dports/devel/libgcrypt/Portfile	2011-07-03 17:02:01 UTC (rev 80061)
+++ trunk/dports/devel/libgcrypt/Portfile	2011-07-03 17:02:46 UTC (rev 80062)
@@ -32,6 +32,13 @@
 
 configure.args  --disable-asm
 
+# BUILD FIX TODO
+# doesn't build with clang as of 2011.06.27
+# This looks like a bug in the package
+if {${configure.compiler} == "clang"} {
+    configure.compiler llvm-gcc-4.2
+}
+
 post-configure {
     if {[variant_isset universal]} {
         system "cd ${worksrcpath} && ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed && touch stamp-h1"