[91545] trunk/dports/devel/libgcrypt/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Wed Apr 4 15:05:35 PDT 2012
Revision: 91545
https://trac.macports.org/changeset/91545
Author: jeremyhu at macports.org
Date: 2012-04-04 15:05:32 -0700 (Wed, 04 Apr 2012)
Log Message:
-----------
libgcrypt: Update clang check to use -fheinous-gnu-extensions with any clang
Modified Paths:
--------------
trunk/dports/devel/libgcrypt/Portfile
Modified: trunk/dports/devel/libgcrypt/Portfile
===================================================================
--- trunk/dports/devel/libgcrypt/Portfile 2012-04-04 21:50:52 UTC (rev 91544)
+++ trunk/dports/devel/libgcrypt/Portfile 2012-04-04 22:05:32 UTC (rev 91545)
@@ -38,7 +38,7 @@
# Build fix for compilers that default to c99 (clang)
configure.cflags-append "-std=gnu89"
-if {${configure.compiler} == "clang"} {
+if {[string match "*clang*" ${configure.compiler}]} {
# libgcrypt-1.5.0 does some ugly stuff with their udiv_qrnnd macro in mpih-div.c
# error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast
configure.cflags-append "-fheinous-gnu-extensions"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120404/133be3a9/attachment.html>
More information about the macports-changes
mailing list