diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2004-11-09 08:29:46 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2004-11-09 08:29:46 +0000 |
commit | 6fd905d46b94b134c3eb9876126337e3a0e8e3f0 (patch) | |
tree | 4ff6accf356dd66421518904eb82550742c4a64a /net-mgmt/p5-Cflow/Makefile | |
parent | b17cc1cb1f81559e55e8be5f5742e40c8721b9fc (diff) | |
download | ports-6fd905d46b94b134c3eb9876126337e3a0e8e3f0.tar.gz ports-6fd905d46b94b134c3eb9876126337e3a0e8e3f0.zip |
Notes
Diffstat (limited to 'net-mgmt/p5-Cflow/Makefile')
-rw-r--r-- | net-mgmt/p5-Cflow/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/net-mgmt/p5-Cflow/Makefile b/net-mgmt/p5-Cflow/Makefile index 0e404d8801aa..4ba62e420293 100644 --- a/net-mgmt/p5-Cflow/Makefile +++ b/net-mgmt/p5-Cflow/Makefile @@ -7,6 +7,7 @@ PORTNAME= Cflow PORTVERSION= 1.051 +PORTREVISION= 1 CATEGORIES= net-mgmt perl5 MASTER_SITES= http://net.doit.wisc.edu/~plonka/Cflow/ PKGNAMEPREFIX= p5- @@ -14,11 +15,13 @@ PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org COMMENT= Analyze raw flow files written by cflowd (Cisco NetFlow data) -.if exists(${PREFIX}/include/ftlib.h) && exists(${PREFIX}/lib/libft.a) -CFLAGS+= -I${PREFIX}/include -DOSU +.if defined(WITH_FLOW_TOOLS) +LIB_DEPENDS+= ${LOCALBASE}/lib/libft.a:${PORTSDIR}/net-mgmt/flow-tools + +CFLAGS+= -I${LOCALBASE}/include -DOSU CONFIGURE_ARGS+= \ - "LDDLFLAGS= -shared -L${PREFIX}/lib -lft" \ - "INC= -I${PREFIX}/include" "LDLOADLIBS= -L${PREFIX}/lib -lft" + "LDDLFLAGS= -shared -L${LOCALBASE}/lib -lft -lz" \ + "INC= -I${LOCALBASE}/include" "LDLOADLIBS= -L${LOCALBASE}/lib -lft -lz" .endif PERL_CONFIGURE= YES |