[98051] trunk/dports/net/minidlna/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Sep 23 22:27:41 PDT 2012


Revision: 98051
          http://trac.macports.org//changeset/98051
Author:   jeremyhu at macports.org
Date:     2012-09-23 22:27:41 -0700 (Sun, 23 Sep 2012)
Log Message:
-----------
minidlna: Fix build with macports-clang

Modified Paths:
--------------
    trunk/dports/net/minidlna/Portfile

Modified: trunk/dports/net/minidlna/Portfile
===================================================================
--- trunk/dports/net/minidlna/Portfile	2012-09-24 05:17:30 UTC (rev 98050)
+++ trunk/dports/net/minidlna/Portfile	2012-09-24 05:27:41 UTC (rev 98051)
@@ -30,7 +30,7 @@
                     port:sqlite3
 
 post-patch {
-    if {${configure.compiler} == "clang"} {
+    if {[string match "*clang*" ${configure.compiler}]} {
         reinplace "s|inline||g" ${worksrcpath}/utils.c ${worksrcpath}/tagutils/misc.c
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120923/3eff8756/attachment.html>


More information about the macports-changes mailing list