[80170] trunk/dports/devel/libgcrypt/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Tue Jul 5 13:23:28 PDT 2011


Revision: 80170
          http://trac.macports.org/changeset/80170
Author:   jeremyhu at macports.org
Date:     2011-07-05 13:23:27 -0700 (Tue, 05 Jul 2011)
Log Message:
-----------
libgcrypt: clang build fix

Modified Paths:
--------------
    trunk/dports/devel/libgcrypt/Portfile

Modified: trunk/dports/devel/libgcrypt/Portfile
===================================================================
--- trunk/dports/devel/libgcrypt/Portfile	2011-07-05 20:09:18 UTC (rev 80169)
+++ trunk/dports/devel/libgcrypt/Portfile	2011-07-05 20:23:27 UTC (rev 80170)
@@ -32,12 +32,8 @@
 
 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
-}
+# Build fix for compilers that default to c99 (clang)
+configure.cflags-append "-std=gnu89"
 
 post-configure {
     if {[variant_isset universal]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110705/7aa1bd05/attachment.html>


More information about the macports-changes mailing list