From 0545cb350627ff6c8d154cb80ec569eb0d9ae507 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Tue, 23 Nov 2004 08:39:19 +0000 Subject: fix typo ( <= instead of == ) Submitted by: Gea-Suan Lin --- net-mgmt/p5-Cflow/Makefile | 4 ++-- net-mgmt/p5-Cflow/files/patch-Cflow.xs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'net-mgmt') 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; -- cgit v1.2.3