From 22a1e439c6a26dd7401d09eb4dd374fbf7a46211 Mon Sep 17 00:00:00 2001
From: cube <cube@pkgsrc.org>
Date: Fri, 10 Oct 2003 08:54:26 +0000
Subject: Buildlinkify and remove hard-coded dependency on libnids-1.14.

---
 security/pakemon/Makefile | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

(limited to 'security/pakemon')

diff --git a/security/pakemon/Makefile b/security/pakemon/Makefile
index 45a2652aead..65c789c771c 100644
--- a/security/pakemon/Makefile
+++ b/security/pakemon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2003/07/21 17:20:26 martti Exp $
+# $NetBSD: Makefile,v 1.13 2003/10/10 08:55:12 cube Exp $
 
 DISTNAME=	pakemon-0.3.1
 CATEGORIES=	security
@@ -10,15 +10,13 @@ MAINTAINER=	tech-pkg@NetBSD.org
 HOMEPAGE=	http://web.sfc.keio.ac.jp/~keiji/backup/ids/pakemon/index.html
 COMMENT=	Packet monster, an Open Source Intrusion Detection System
 
-DEPENDS+=	libnet-[0-9]*:../../devel/libnet
-# libnids provides static library only, thus it isn't necessary at run-time,
-# only at compile-time.
-#
-BUILD_DEPENDS+=	libnids-1.14:../../net/libnids
-
+USE_BUILDLINK2=	yes
 GNU_CONFIGURE=	yes
 
 post-extract:
 	${CP} ${WRKSRC}/pakemon.h ${WRKSRC}/pakemon.h.in
 
+.include "../../net/libpcap/buildlink2.mk"
+.include "../../devel/libnet/buildlink2.mk"
+.include "../../net/libnids/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
-- 
cgit v1.2.3