Subject: pkg/13876: bugfix for pkgsrc/net/libpcap/
To: None <>
From: Stoned Elipot <>
List: netbsd-bugs
Date: 09/06/2001 14:00:19
>Number:         13876
>Category:       pkg
>Synopsis:       one include file was left over in net/libpcap/
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 06 04:56:00 PDT 2001
>Originator:     Stoned Elipot
>Release:        pkgsrc-current
SCRIPT, Paris VII University, France
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
System: SunOS deep-space-9 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-60

I forgot include/net/bpf.h in BUILDLINK_FILES.libpcap when I submitted this
file: I didn't test it on a non-NetBSD platform at the time :{
Try to build on zoularis - for example - a pkg using libpcap with 
`.include "../../net/libpcap/"' in its Makefile. I'm in
the process of converting to "buildink" the existing pkg that have 
`DEPENDS+= ...../libpcap' and I guess you won't find a pkg using this at this time but I'll submit PRs to fix this ;)
The following trivial patch fix the problem:

RCS file: /cvsroot/pkgsrc/net/libpcap/,v
retrieving revision 1.1
diff -u -r1.1
---	2001/08/17 13:19:01	1.1
+++	2001/09/06 11:50:01
@@ -35,6 +35,7 @@
 BUILDLINK_FILES.libpcap=	include/pcap.h
 BUILDLINK_FILES.libpcap+=	include/pcap-namedb.h
+BUILDLINK_FILES.libpcap+=	include/net/bpf.h
 BUILDLINK_FILES.libpcap+=	lib/libpcap.*
 BUILDLINK_TARGETS.libpcap=	libpcap-buildlink