aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/p5-Cflow
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2004-04-18 18:12:15 +0800
committerijliao <ijliao@FreeBSD.org>2004-04-18 18:12:15 +0800
commit3282e5df7ccfd93fdcdd758dadc5cf02a577cada (patch)
tree49f4ac675ea60e381672263717da5b943996c4f8 /net-mgmt/p5-Cflow
parent1ee79b69966cad052440c882f04dc711d9a16223 (diff)
downloadfreebsd-ports-gnome-3282e5df7ccfd93fdcdd758dadc5cf02a577cada.tar.gz
freebsd-ports-gnome-3282e5df7ccfd93fdcdd758dadc5cf02a577cada.tar.zst
freebsd-ports-gnome-3282e5df7ccfd93fdcdd758dadc5cf02a577cada.zip
support for flow-tools data format
PR: 65064 Submitted by: Viktor Fomichev <vfom@sicex.ru>
Diffstat (limited to 'net-mgmt/p5-Cflow')
-rw-r--r--net-mgmt/p5-Cflow/Makefile6
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