summaryrefslogtreecommitdiff
path: root/net/ntop
diff options
context:
space:
mode:
authorabs <abs>2001-08-24 11:43:47 +0000
committerabs <abs>2001-08-24 11:43:47 +0000
commit359c958ec7b5577b0df63e3bb5684f4d528fa759 (patch)
tree86959b9068851ec7f5fa600967543730af6aa195 /net/ntop
parent5039980a918f27651d2ef07111a92e787baf368a (diff)
downloadpkgsrc-359c958ec7b5577b0df63e3bb5684f4d528fa759.tar.gz
At least depend on the right version of pcal for SunOS or Linux.
Diffstat (limited to 'net/ntop')
-rw-r--r--net/ntop/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/ntop/Makefile b/net/ntop/Makefile
index a45ce983ff6..caf6e49ac1a 100644
--- a/net/ntop/Makefile
+++ b/net/ntop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2001/06/20 04:50:23 jlam Exp $
+# $NetBSD: Makefile,v 1.20 2001/08/24 11:43:47 abs Exp $
DISTNAME= ntop-1.1
PKGNAME= ntop-1.1nb1
@@ -16,5 +16,11 @@ CONFIGURE_ARGS+= --enable-threads=no
INSTALL_TARGET= install install-man
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
+DEPENDS+= libpcap>=0.4:../../net/libpcap
+.endif
+
.include "../../devel/ncurses/buildlink.mk"
.include "../../mk/bsd.pkg.mk"