diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-11-23 08:39:19 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-11-23 08:39:19 +0000 |
commit | 0545cb350627ff6c8d154cb80ec569eb0d9ae507 (patch) | |
tree | f9d39b6d6f1c9353c2fd43063f4092e0729c0ae8 /net-mgmt | |
parent | c114ed55bf2a34c94be0e19ec0463be919e1ccee (diff) | |
download | ports-0545cb350627ff6c8d154cb80ec569eb0d9ae507.tar.gz ports-0545cb350627ff6c8d154cb80ec569eb0d9ae507.zip |
Notes
Diffstat (limited to 'net-mgmt')
-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; |