summaryrefslogtreecommitdiff
path: root/net/tcpflow/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/tcpflow/Makefile')
-rw-r--r--net/tcpflow/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/tcpflow/Makefile b/net/tcpflow/Makefile
index add5afca2210..b9468323d6a1 100644
--- a/net/tcpflow/Makefile
+++ b/net/tcpflow/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tcpflow
-DISTVERSION= 1.4.0b1
+PORTVERSION= 1.4.0
CATEGORIES= net
MASTER_SITES= http://www.digitalcorpora.org/downloads/${PORTNAME}/
@@ -12,7 +12,7 @@ COMMENT= Program that captures data transmitted as part of TCP connections
LICENSE= GPLv3
BUILD_DEPENDS= ${LOCALBASE}/include/boost/icl/interval.hpp:${PORTSDIR}/devel/boost-libs
-LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo
+LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
@@ -27,6 +27,11 @@ PORTDOCS= AUTHORS ChangeLog NEWS README
.include <bsd.port.options.mk>
+.if ${ARCH} == i386 && ! ${CFLAGS:M-march=*}
+# Needed for __sync_add_and_fetch_8
+CFLAGS+= -march=i586
+.endif
+
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}