mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Make this compilable with flow-tools and perl-5.8.x on current
(also tested on 4.x/5.x without flow-tools).
This commit is contained in:
parent
87356be588
commit
71cb7734cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114751
1 changed files with 3 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue