[98062] trunk/dports/devel/libzookeeper/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Sep 23 23:18:54 PDT 2012


Revision: 98062
          http://trac.macports.org//changeset/98062
Author:   jeremyhu at macports.org
Date:     2012-09-23 23:18:54 -0700 (Sun, 23 Sep 2012)
Log Message:
-----------
libzookeeper: Fix build with MacPorts clang

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

Modified: trunk/dports/devel/libzookeeper/Portfile
===================================================================
--- trunk/dports/devel/libzookeeper/Portfile	2012-09-24 06:16:21 UTC (rev 98061)
+++ trunk/dports/devel/libzookeeper/Portfile	2012-09-24 06:18:54 UTC (rev 98062)
@@ -44,7 +44,7 @@
     reinplace "s|c-client-src|zookeeper|" ${worksrcpath}/Makefile
 }
 
-if {${configure.compiler} == "clang"} {
+if {[string match "*clang*" ${configure.compiler}]} {
     configure.cflags-append "--std=gnu89"
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120923/310dd509/attachment.html>


More information about the macports-changes mailing list