diff options
-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 |