diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-07-26 08:39:04 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2004-07-26 08:39:04 +0000 |
commit | 71cb7734cbfac2db30a1b720d67c3bd360c8772c (patch) | |
tree | 46dff964c3e86909160ece09ae7421351934592b /net-mgmt/p5-Cflow | |
parent | 87356be588c8c20557e2aa38201a64c791acf0c3 (diff) |
- Make this compilable with flow-tools and perl-5.8.x on current
(also tested on 4.x/5.x without flow-tools).
Notes
Notes:
svn path=/head/; revision=114751
Diffstat (limited to 'net-mgmt/p5-Cflow')
-rw-r--r-- | net-mgmt/p5-Cflow/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net-mgmt/p5-Cflow/Makefile b/net-mgmt/p5-Cflow/Makefile index 9808bbf509b4..0e404d8801aa 100644 --- a/net-mgmt/p5-Cflow/Makefile +++ b/net-mgmt/p5-Cflow/Makefile @@ -14,16 +14,15 @@ 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) +.if exists(${PREFIX}/include/ftlib.h) && exists(${PREFIX}/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" + "LDDLFLAGS= -shared -L${PREFIX}/lib -lft" \ + "INC= -I${PREFIX}/include" "LDLOADLIBS= -L${PREFIX}/lib -lft" .endif PERL_CONFIGURE= YES MAN1= flowdumper.1 MAN3= Cflow.3 -MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} .include <bsd.port.mk> |