Revision
112739
Author
jeremyhu@macports.org
Date
2013-10-30 13:11:50 -0700 (Wed, 30 Oct 2013)

Log Message

minidlna: Reduce inline craziness

Modified Paths

Diff

Modified: trunk/dports/net/minidlna/Portfile (112738 => 112739)


--- trunk/dports/net/minidlna/Portfile	2013-10-30 18:15:07 UTC (rev 112738)
+++ trunk/dports/net/minidlna/Portfile	2013-10-30 20:11:50 UTC (rev 112739)
@@ -30,14 +30,11 @@
                     port:libexif \
                     port:sqlite3
 
-post-patch {
-    if {[string match "*clang*" ${configure.compiler}]} {
-        reinplace "s|inline||g" ${worksrcpath}/utils.c ${worksrcpath}/tagutils/misc.c
-    }
-}
-
 use_autoreconf      yes
 
+# Non-conforming inline usage
+configure.cflags-append -std=gnu89
+
 post-destroot {
     xinstall -m 644 ${worksrcpath}/${name}.conf ${destroot}${prefix}/etc/${name}.conf.sample
 }