summaryrefslogtreecommitdiff
path: root/net/p5-Net-Packet
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-02-19 22:43:59 +0000
committerwiz <wiz@pkgsrc.org>2006-02-19 22:43:59 +0000
commit709a4bd03f675eae17e4daf2433c52cc2ba79e98 (patch)
treecb193f90ea3dfdda2f1eddd0a745174fa6efe214 /net/p5-Net-Packet
parent26bf3176702192c3a1dd7dfaece6b35d2797eb1a (diff)
downloadpkgsrc-709a4bd03f675eae17e4daf2433c52cc2ba79e98.tar.gz
Remove (in pkgsrc) broken test for pcap-int.h, the dependency pattern
makes sure we have that file.
Diffstat (limited to 'net/p5-Net-Packet')
-rw-r--r--net/p5-Net-Packet/distinfo3
-rw-r--r--net/p5-Net-Packet/patches/patch-aa17
2 files changed, 19 insertions, 1 deletions
diff --git a/net/p5-Net-Packet/distinfo b/net/p5-Net-Packet/distinfo
index 30d0ba31154..b621cc8cb9a 100644
--- a/net/p5-Net-Packet/distinfo
+++ b/net/p5-Net-Packet/distinfo
@@ -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
diff --git a/net/p5-Net-Packet/patches/patch-aa b/net/p5-Net-Packet/patches/patch-aa
new file mode 100644
index 00000000000..bcb3b18d04a
--- /dev/null
+++ b/net/p5-Net-Packet/patches/patch-aa
@@ -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";
+