diff options
author | ijliao <ijliao@FreeBSD.org> | 2004-11-23 16:39:19 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2004-11-23 16:39:19 +0800 |
commit | a50c220ae793c3d53724aa8746adcd9c9ceadd39 (patch) | |
tree | 1abb82e8c6bd37f5543f3d568e53266b72993572 /net-mgmt/p5-Cflow | |
parent | 0cf68658634df6ddf044bce9c5c5fb37d68c7bd4 (diff) | |
download | freebsd-ports-gnome-a50c220ae793c3d53724aa8746adcd9c9ceadd39.tar.gz freebsd-ports-gnome-a50c220ae793c3d53724aa8746adcd9c9ceadd39.tar.zst freebsd-ports-gnome-a50c220ae793c3d53724aa8746adcd9c9ceadd39.zip |
fix typo ( <= instead of == )
Submitted by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
Diffstat (limited to 'net-mgmt/p5-Cflow')
-rw-r--r-- | net-mgmt/p5-Cflow/Makefile | 4 | ||||
-rw-r--r-- | net-mgmt/p5-Cflow/files/patch-Cflow.xs | 2 |
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; |