diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-04-18 10:12:15 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-04-18 10:12:15 +0000 |
commit | 1b40ea0bb66524a52e3ff98994c7dedd8c7af88b (patch) | |
tree | b2228ca7b319c6309af02a9747862f488da16f02 /net-mgmt | |
parent | 46e991cb54b7d0a1848aca4690d0a08b5ae51c3a (diff) | |
download | ports-1b40ea0bb66524a52e3ff98994c7dedd8c7af88b.tar.gz ports-1b40ea0bb66524a52e3ff98994c7dedd8c7af88b.zip |
support for flow-tools data format
PR: 65064
Submitted by: Viktor Fomichev <vfom@sicex.ru>
Notes
Notes:
svn path=/head/; revision=107405
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/p5-Cflow/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net-mgmt/p5-Cflow/Makefile b/net-mgmt/p5-Cflow/Makefile index 12071bda194b..9808bbf509b4 100644 --- a/net-mgmt/p5-Cflow/Makefile +++ b/net-mgmt/p5-Cflow/Makefile @@ -14,6 +14,12 @@ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= Analyze raw flow files written by cflowd (Cisco NetFlow data) +.if exists(/usr/local/include/ftlib.h) && exists(/usr/local/lib/libft.a) +CFLAGS+= -I${PREFIX}/include -DOSU +CONFIGURE_ARGS+= \ + "LDDLFLAGS= -Wl,-E -shared -lperl -lm -L${PREFIX}/lib -lft -lz" \ + "INC= -I${PREFIX}/include" "LDLOADLIBS= -L${PREFIX}/lib -lft -lz" +.endif PERL_CONFIGURE= YES MAN1= flowdumper.1 |