[113495] trunk/dports/net/tcpflow

ryandesign at macports.org ryandesign at macports.org
Sun Nov 17 15:02:40 PST 2013


Revision: 113495
          https://trac.macports.org/changeset/113495
Author:   ryandesign at macports.org
Date:     2013-11-17 15:02:40 -0800 (Sun, 17 Nov 2013)
Log Message:
-----------
tcpflow: update to 1.4.1 which fixes build failure on Mavericks (#41400); add dependencies on libraries tcpflow does link with; add patch to not look for libraries in locations we don't want to look for libraries in, and to fix configure error when $CXX contains a space (e.g. when ccache is in use)

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

Added Paths:
-----------
    trunk/dports/net/tcpflow/files/
    trunk/dports/net/tcpflow/files/patch-configure.ac.diff

Modified: trunk/dports/net/tcpflow/Portfile
===================================================================
--- trunk/dports/net/tcpflow/Portfile	2013-11-17 22:48:16 UTC (rev 113494)
+++ trunk/dports/net/tcpflow/Portfile	2013-11-17 23:02:40 UTC (rev 113495)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 PortGroup           github 1.0
 
-github.setup        simsong tcpflow 1.3.0 tcpflow-
+github.setup        simsong tcpflow 1.4.1 tcpflow-
 
 categories          net security
 platforms           darwin freebsd
@@ -24,13 +24,31 @@
                     streams regardless of retransmissions or out-of-order \
                     delivery.
 
-checksums           rmd160  9fe6b8c85955fcc1c06108c53d5f046790eadfd7 \
-                    sha256  a87dd29332f6e680495e10ccccd3ad67560c149feecc3193ea1203f71364940e
+checksums           rmd160  df6a3bb42dc3980c11ff2b7352242030f3be203e \
+                    sha256  6cfdb9aeb8fce19513da31a5855967f0bd6469e04493b063ad02595032577adf
 
 depends_build       bin:autoreconf:autoconf \
                     bin:automake:automake
+
+depends_lib         port:bzip2 \
+                    path:lib/pkgconfig/cairo.pc:cairo \
+                    port:expat \
+                    port:fontconfig \
+                    port:freetype \
+                    port:libpcap \
+                    path:lib/pkgconfig/pixman-1.pc:libpixman \
+                    port:openssl \
+                    port:zlib
+
+# Fetch from git instead of distfile because it needs submodules.
+fetch.type          git
+
+post-fetch {
+    system -W ${worksrcpath} "git submodule update --init"
+}
+
+patchfiles          patch-configure.ac.diff
+
 pre-configure {
     system -W ${worksrcpath} "sh ./bootstrap.sh"
 }
-
-depends_lib         port:libpcap

Added: trunk/dports/net/tcpflow/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/net/tcpflow/files/patch-configure.ac.diff	                        (rev 0)
+++ trunk/dports/net/tcpflow/files/patch-configure.ac.diff	2013-11-17 23:02:40 UTC (rev 113495)
@@ -0,0 +1,29 @@
+--- configure.ac.orig	2013-11-17 16:45:29.000000000 -0600
++++ configure.ac	2013-11-17 16:47:06.000000000 -0600
+@@ -65,17 +65,6 @@
+ esac
+ 
+ if test x"${mingw}" == "xno" ; then
+-  # Bring additional directories where things might be found into our
+-  # search path. I don't know why autoconf doesn't do this by default
+-  for spfx in /usr/local /opt/local /sw /usr/local/ssl /usr/boost/include ; do
+-    AC_MSG_NOTICE([checking ${spfx}/include])
+-    if test -d ${spfx}/include; then
+-        CPPFLAGS="-I${spfx}/include $CPPFLAGS"
+-        LDFLAGS="-L${spfx}/lib $LDFLAGS"
+-        AC_MSG_NOTICE([ *** ADDING ${spfx}/include to CPPFLAGS *** ])
+-        AC_MSG_NOTICE([ *** ADDING ${spfx}/lib to LDFLAGS *** ])
+-    fi
+-  done
+   AC_MSG_NOTICE([ CPPFLAGS = ${CPPFLAGS} ])        
+   AC_MSG_NOTICE([ LDFLAGS = ${LDFLAGS} ])        
+ fi
+@@ -149,7 +138,7 @@
+     -Woverloaded-virtual -Wsign-promo \
+     -funit-at-a-time"
+ 
+-if test x$CXX != "xclang++" && `uname -s` != 'Darwin' ; then
++if test "x$CXX" != "xclang++" && `uname -s` != 'Darwin' ; then
+   # -Wstrict-null-sentinel is not supported under clang or under Darwin's gcc
+   WARNINGS_TO_TEST="$WARNINGS_TO_TEST -Wstrict-null-sentinel"
+ fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131117/727af8ca/attachment.html>


More information about the macports-changes mailing list