summaryrefslogtreecommitdiff
path: root/net/ntop
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-08-24 11:43:47 +0000
committerabs <abs@pkgsrc.org>2001-08-24 11:43:47 +0000
commit8d04d4c878cd742612be7b95f5285592602e14bd (patch)
tree86959b9068851ec7f5fa600967543730af6aa195 /net/ntop
parent14d260b0ec7a73ea5db537c2dcf35af1e54bb9e5 (diff)
downloadpkgsrc-8d04d4c878cd742612be7b95f5285592602e14bd.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"