summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-11-23 08:39:19 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-11-23 08:39:19 +0000
commit0545cb350627ff6c8d154cb80ec569eb0d9ae507 (patch)
treef9d39b6d6f1c9353c2fd43063f4092e0729c0ae8 /net-mgmt
parent- Unbreak on 4.x (diff)
fix typo ( <= instead of == )
Submitted by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
Notes
Notes: svn path=/head/; revision=122208
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/p5-Cflow/Makefile4
-rw-r--r--net-mgmt/p5-Cflow/files/patch-Cflow.xs2
2 files changed, 3 insertions, 3 deletions
diff --git a/net-mgmt/p5-Cflow/Makefile b/net-mgmt/p5-Cflow/Makefile
index 4ba62e420293..02fba6113f96 100644
--- a/net-mgmt/p5-Cflow/Makefile
+++ b/net-mgmt/p5-Cflow/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Cflow
PORTVERSION= 1.051
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-mgmt perl5
MASTER_SITES= http://net.doit.wisc.edu/~plonka/Cflow/
PKGNAMEPREFIX= p5-
@@ -16,7 +16,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Analyze raw flow files written by cflowd (Cisco NetFlow data)
.if defined(WITH_FLOW_TOOLS)
-LIB_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools
+RUN_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools
CFLAGS+= -I${LOCALBASE}/include -DOSU
CONFIGURE_ARGS+= \
diff --git a/net-mgmt/p5-Cflow/files/patch-Cflow.xs b/net-mgmt/p5-Cflow/files/patch-Cflow.xs
index bb3915bf991d..5a6aeab146f1 100644
--- a/net-mgmt/p5-Cflow/files/patch-Cflow.xs
+++ b/net-mgmt/p5-Cflow/files/patch-Cflow.xs
@@ -5,7 +5,7 @@
# ifdef OSU /* [ */
struct fttime first, last;
- if ((FILE *)0 == fp) {
-+ if (0 == ftio_check_generic(&fs)) {
++ if (0 <= ftio_check_generic(&fs)) {
fdata = ftio_read(&fs);
if ((void *)0 == fdata) {
break;