Remove (in pkgsrc) broken test for pcap-int.h, the dependency pattern

makes sure we have that file.
This commit is contained in:
wiz 2006-02-19 22:43:59 +00:00
parent 26bf317670
commit 709a4bd03f
2 changed files with 19 additions and 1 deletions

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2005/08/13 08:11:17 adrianp Exp $
$NetBSD: distinfo,v 1.2 2006/02/19 22:43:59 wiz Exp $
SHA1 (Net-Packet-2.04.tar.gz) = 38bdcf453d4e7665dea98414d6ece2b1a4a4e0ca
RMD160 (Net-Packet-2.04.tar.gz) = c5bb9638a7e926733d8381cfee3db7e23f1bcf1a
Size (Net-Packet-2.04.tar.gz) = 50984 bytes
SHA1 (patch-aa) = 9389b7426f55f4a4a9e1d91e8a7086bb3a374acd

View file

@ -0,0 +1,17 @@
$NetBSD: patch-aa,v 1.1 2006/02/19 22:43:59 wiz Exp $
--- Makefile.PL.orig 2005-05-22 19:08:20.000000000 +0000
+++ Makefile.PL
@@ -15,12 +15,6 @@ my ($lib) = $file =~ /^(.*)\//;
sub _getPcapHPath { (-d "$inc/pcap") ? "[$inc/pcap]" : "[$inc]" }
-unless (-f "$inc/pcap-int.h" || -f "$inc/pcap/pcap-int.h") {
- die("*** Cannot find pcap-int.h . Get it from your installed libpcap ".
- "source distribution and copy it to: ". _getPcapHPath().
- " (near pcap.h)\n");
-}
-
$inc = "-I$inc -I$inc/pcap";
$lib = "-L$lib";