pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security Buildlinkify and remove hard-coded dependency...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2516fd1e0c44
branches:  trunk
changeset: 462712:2516fd1e0c44
user:      cube <cube%pkgsrc.org@localhost>
date:      Fri Oct 10 08:54:26 2003 +0000

description:
Buildlinkify and remove hard-coded dependency on libnids-1.14.

diffstat:

 security/dsniff/Makefile  |  12 +++++-------
 security/pakemon/Makefile |  12 +++++-------
 2 files changed, 10 insertions(+), 14 deletions(-)

diffs (56 lines):

diff -r 0c25b741df08 -r 2516fd1e0c44 security/dsniff/Makefile
--- a/security/dsniff/Makefile  Fri Oct 10 08:44:44 2003 +0000
+++ b/security/dsniff/Makefile  Fri Oct 10 08:54:26 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2003/07/21 17:20:07 martti Exp $
+# $NetBSD: Makefile,v 1.15 2003/10/10 08:54:26 cube Exp $
 # $OpenBSD: Makefile,v 1.13 2000/06/19 18:38:55 dugsong Exp $
 
 DISTNAME=      dsniff-2.3
@@ -9,13 +9,11 @@
 HOMEPAGE=      http://monkey.org/~dugsong/dsniff/
 COMMENT=       Password sniffer
 
-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
 USE_X11=       yes
 
+.include "../../net/libpcap/buildlink2.mk"
+.include "../../devel/libnet/buildlink2.mk"
+.include "../../net/libnids/buildlink2.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 0c25b741df08 -r 2516fd1e0c44 security/pakemon/Makefile
--- a/security/pakemon/Makefile Fri Oct 10 08:44:44 2003 +0000
+++ b/security/pakemon/Makefile Fri Oct 10 08:54:26 2003 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index