aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2002-08-05 09:38:40 +0800
committerdougb <dougb@FreeBSD.org>2002-08-05 09:38:40 +0800
commit52cb3890b84c4bae9a0e6b66f5499689cd17c7ed (patch)
treea4d3317fd17b84ef871e3b65e922798a839d8fed /dns
parent7cd8f06541a56683bbcd1dc6f5c9a326ba132125 (diff)
downloadfreebsd-ports-gnome-52cb3890b84c4bae9a0e6b66f5499689cd17c7ed.tar.gz
freebsd-ports-gnome-52cb3890b84c4bae9a0e6b66f5499689cd17c7ed.tar.zst
freebsd-ports-gnome-52cb3890b84c4bae9a0e6b66f5499689cd17c7ed.zip
No need to deal with this test for a port install
Diffstat (limited to '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(