blob: 353ec21fc447f0dcacde40a705e5a68c08650615 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
$NetBSD: patch-aa,v 1.2 2001/12/15 10:12:40 martti Exp $
--- Makefile.PL.orig Sat Dec 15 16:03:49 2001
+++ Makefile.PL
@@ -41,13 +41,16 @@
sub { ($_[5]+1900, $_[4]+1, $_[3])}->(localtime(time - 45 * 24*60*60));
if ($some_time_ago lt $release_date) {
# Check if we have internet connection
- 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,
+# );
+
+ my $s = 0;
+
if ($s) {
# XXX could try to send a GET to it???
- close($s);
+# close($s);
print <<EOT;
|