Subject: pkg/13918: buildlinking net/arpwatch
To: None <gnats-bugs@gnats.netbsd.org>
From: Stoned Elipot <Stoned.Elipot@script.jussieu.fr>
List: netbsd-bugs
Date: 09/10/2001 17:47:33
>Number: 13918
>Category: pkg
>Synopsis: use net/libpcap/buildlink.mk in net/arpwatch/Makefile
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Sep 10 08:48:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Stoned Elipot
>Release: pkgsrc-current
>Organization:
SCRIPT, Paris VII University, France
>Environment:
System: NetBSD bandsept 1.5.1 NetBSD 1.5.1 (GENERIC) #0: Mon Jul 9 22:42:32 CST 2001 toor@proxima:/usr/src/sys/arch/sparc/compile/GENERIC sparc
>Description:
Using net/libpcap/buildlink.mk is IMHO better than
'.if ${OPSYS} ... DEPENDS+=... .endif'
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/arpwatch/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile 2001/08/24 11:37:07 1.13
+++ Makefile 2001/09/10 15:45:56
@@ -24,8 +24,5 @@
.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
-DEPENDS+= libpcap>=0.4:../../net/libpcap
-.endif
-
+.include "../../net/libpcap/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: