[109083] trunk/dports/net/flow-tools/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Aug 7 16:31:59 PDT 2013


Revision: 109083
          https://trac.macports.org/changeset/109083
Author:   jeremyhu at macports.org
Date:     2013-08-07 16:31:59 -0700 (Wed, 07 Aug 2013)
Log Message:
-----------
flow-tools: Use clang (#34358)

Modified Paths:
--------------
    trunk/dports/net/flow-tools/Portfile

Modified: trunk/dports/net/flow-tools/Portfile
===================================================================
--- trunk/dports/net/flow-tools/Portfile	2013-08-07 23:14:25 UTC (rev 109082)
+++ trunk/dports/net/flow-tools/Portfile	2013-08-07 23:31:59 UTC (rev 109083)
@@ -34,10 +34,6 @@
 depends_lib             port:openssl \
                         port:zlib
 
-if {${configure.compiler} == "clang"} {
-    configure.compiler llvm-gcc-4.2
-}
-
 post-patch {
         reinplace "s|__PREFIX__|${prefix}|g" \
                 ${worksrcpath}/lib/ftpaths.h
@@ -54,8 +50,14 @@
         eval reinplace "s|@localstatedir@/cfg/|${prefix}/etc/flow-tools/|g" \
                 [glob ${worksrcpath}/docs/flow-*.1.in] \
                 [glob ${worksrcpath}/docs/flow-*.html.in]
+
+        # http://trac.macports.org/ticket/34358
+        reinplace {/CFLAGS="-g -Wall"/d} ${worksrcpath}/configure
 }
 
+# http://trac.macports.org/ticket/34358
+configure.cflags-append -std=gnu89
+
 configure.args          --with-openssl=${prefix} \
                         --localstatedir=${prefix} \
                         --mandir=${prefix}/share/man
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130807/cb20a702/attachment.html>


More information about the macports-changes mailing list