summaryrefslogtreecommitdiff
path: root/dns/p5-Net-DNS
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2002-08-05 01:38:40 +0000
committerDoug Barton <dougb@FreeBSD.org>2002-08-05 01:38:40 +0000
commitd48b023a584f884c74731aa0a07a65f62b67bbe3 (patch)
tree806539ac44bb5743515b549313220254c1e5b8c5 /dns/p5-Net-DNS
parentUpdate to 0.59. (diff)
No need to deal with this test for a port install
Notes
Notes: svn path=/head/; revision=64013
Diffstat (limited to 'dns/p5-Net-DNS')
-rw-r--r--dns/p5-Net-DNS/files/patch-Makefile.Pl55
1 files changed, 55 insertions, 0 deletions
diff --git a/dns/p5-Net-DNS/files/patch-Makefile.Pl b/dns/p5-Net-DNS/files/patch-Makefile.Pl
new file mode 100644
index 000000000000..a2ece0b730d8
--- /dev/null
+++ b/dns/p5-Net-DNS/files/patch-Makefile.Pl
@@ -0,0 +1,55 @@
+--- Makefile.PL.Dist Thu Aug 1 02:57:10 2002
++++ Makefile.PL Sun Aug 4 18:27:55 2002
+@@ -13,29 +13,29 @@
+
+ # Check if we have internet connection
+ # (I lifted this code from LWP... many thanks for this and more!)
+-require IO::Socket;
+-my $s = IO::Socket::INET->new(
+- PeerAddr => "www.google.com:80",
+- Timeout => 10,
+-);
+-
+-if ($s) {
+- close($s);
+-
+- print <<EOT;
+-
+-You appear to be directly connected to the Internet. I have some tests
+-that try to query live nameservers.
+-
+-EOT
+-
+- if (prompt("Do you want to enable these tests?", "y") =~ /^y/i) {
+- open(ENABLED, ">t/online.enabled") || die "Can't touch ./t/online.enabled $!";
+- close(ENABLED);
+- } else {
+- unlink("t/online.enabled"); # just to shure...
+- }
+-}
++#require IO::Socket;
++#my $s = IO::Socket::INET->new(
++# PeerAddr => "www.google.com:80",
++# Timeout => 10,
++#);
++#
++#if ($s) {
++# close($s);
++#
++# print <<EOT;
++#
++#You appear to be directly connected to the Internet. I have some tests
++#that try to query live nameservers.
++#
++#EOT
++#
++# if (prompt("Do you want to enable these tests?", "y") =~ /^y/i) {
++# open(ENABLED, ">t/online.enabled") || die "Can't touch ./t/online.enabled $!";
++# close(ENABLED);
++# } else {
++# unlink("t/online.enabled"); # just to shure...
++# }
++#}
+
+
+ WriteMakefile(