summaryrefslogtreecommitdiff
path: root/net/ntop/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/ntop/Makefile')
-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"