aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-07-26 16:39:04 +0800
committerkuriyama <kuriyama@FreeBSD.org>2004-07-26 16:39:04 +0800
commit05addd61ad05b09d91f027c584d6403712faa428 (patch)
treea5844c36a223c875d18abac577457ff90b149394 /net-mgmt
parent0528d04e75a1857977d66838e671713e2e45337f (diff)
downloadfreebsd-ports-gnome-05addd61ad05b09d91f027c584d6403712faa428.tar.gz
freebsd-ports-gnome-05addd61ad05b09d91f027c584d6403712faa428.tar.zst
freebsd-ports-gnome-05addd61ad05b09d91f027c584d6403712faa428.zip
- Make this compilable with flow-tools and perl-5.8.x on current
(also tested on 4.x/5.x without flow-tools).
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/p5-Cflow/Makefile7
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>