From 1b40ea0bb66524a52e3ff98994c7dedd8c7af88b Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sun, 18 Apr 2004 10:12:15 +0000 Subject: [PATCH] support for flow-tools data format PR: 65064 Submitted by: Viktor Fomichev --- net-mgmt/p5-Cflow/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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