aboutsummaryrefslogtreecommitdiff
path: root/dns/p5-Net-DNS/files
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2002-08-07 00:17:06 +0000
committerDoug Barton <dougb@FreeBSD.org>2002-08-07 00:17:06 +0000
commit13f554ed429b1e783b3e90a707ad0cb62b267a4f (patch)
treeb0d7310f73b0e1e2e502e2388d3c207d32c05fc6 /dns/p5-Net-DNS/files
parenta0a914315f9e18d766b77dffa6f429e87e32a49f (diff)
downloadports-13f554ed429b1e783b3e90a707ad0cb62b267a4f.tar.gz
ports-13f554ed429b1e783b3e90a707ad0cb62b267a4f.zip
Notes
Diffstat (limited to 'dns/p5-Net-DNS/files')
-rw-r--r--dns/p5-Net-DNS/files/patch-Makefile.Pl25
1 files changed, 12 insertions, 13 deletions
diff --git a/dns/p5-Net-DNS/files/patch-Makefile.Pl b/dns/p5-Net-DNS/files/patch-Makefile.Pl
index a2ece0b730d8..c17b347217f6 100644
--- a/dns/p5-Net-DNS/files/patch-Makefile.Pl
+++ b/dns/p5-Net-DNS/files/patch-Makefile.Pl
@@ -1,15 +1,20 @@
---- Makefile.PL.Dist Thu Aug 1 02:57:10 2002
-+++ Makefile.PL Sun Aug 4 18:27:55 2002
+--- Makefile.PL.orig Mon Aug 5 13:06:55 2002
++++ Makefile.PL Tue Aug 6 17:09:56 2002
@@ -13,29 +13,29 @@
- # Check if we have internet connection
- # (I lifted this code from LWP... many thanks for this and more!)
+ # 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,
-);
--
++#require IO::Socket;
++#my $s = IO::Socket::INET->new(
++# PeerAddr => "www.google.com:80",
++# Timeout => 10,
++#);
+
-if ($s) {
- close($s);
-
@@ -24,15 +29,9 @@
- open(ENABLED, ">t/online.enabled") || die "Can't touch ./t/online.enabled $!";
- close(ENABLED);
- } else {
-- unlink("t/online.enabled"); # just to shure...
+- unlink("t/online.enabled"); # just to be shure...
- }
-}
-+#require IO::Socket;
-+#my $s = IO::Socket::INET->new(
-+# PeerAddr => "www.google.com:80",
-+# Timeout => 10,
-+#);
-+#
+#if ($s) {
+# close($s);
+#
@@ -47,7 +46,7 @@
+# open(ENABLED, ">t/online.enabled") || die "Can't touch ./t/online.enabled $!";
+# close(ENABLED);
+# } else {
-+# unlink("t/online.enabled"); # just to shure...
++# unlink("t/online.enabled"); # just to be shure...
+# }
+#}