aboutsummaryrefslogtreecommitdiff
path: root/net/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 /net/p5-Net-DNS
parentc7afd95654af6955316de8b4bc470363d6debd41 (diff)
downloadports-d48b023a584f884c74731aa0a07a65f62b67bbe3.tar.gz
ports-d48b023a584f884c74731aa0a07a65f62b67bbe3.zip
Notes
Diffstat (limited to 'net/p5-Net-DNS')
-rw-r--r--net/p5-Net-DNS/files/patch-Makefile.Pl55
1 files changed, 55 insertions, 0 deletions
diff --git a/net/p5-Net-DNS/files/patch-Makefile.Pl b/net/p5-Net-DNS/files/patch-Makefile.Pl
new file mode 100644
index 000000000000..a2ece0b730d8
--- /dev/null
+++ b/net/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(