aboutsummaryrefslogtreecommitdiff
path: root/ports/libpq/patches/windows/host_skip_openssl.patch
blob: e18e178843f9bc790bacfbf9b8e4fa4363fd2e05 (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
27
28
29
30
31
32
33
34
35
36
37
38
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm
index 25a549015..9018270ab 100644
--- a/src/tools/msvc/Solution.pm	
+++ b/src/tools/msvc/Solution.pm
@@ -132,21 +132,21 @@ sub GetOpenSSLVersion
 	# Attempt to get OpenSSL version and location.  This assumes that
 	# openssl.exe is in the specified directory.
 	# Quote the .exe name in case it has spaces
-	my $opensslcmd =
-	  qq("openssl.exe" version 2>&1);
-	my $sslout = `$opensslcmd`;
+	#my $opensslcmd =
+	#  qq("openssl.exe" version 2>&1);
+	#my $sslout = `$opensslcmd`;
 
-	$? >> 8 == 0
-	  or croak
-	  "Unable to determine OpenSSL version: The openssl.exe command wasn't found.";
+	#$? >> 8 == 0
+	#  or croak
+	#  "Unable to determine OpenSSL version: The openssl.exe command wasn't found.";
 
-	if ($sslout =~ /(\d+)\.(\d+)\.(\d+)(\D)/m)
-	{
-		return ($1, $2, $3);
-	}
+	#if ($sslout =~ /(\d+)\.(\d+)\.(\d+)(\D)/m)
+	#{
+		return (1, 1, 1);
+	#}
 
-	croak
-	  "Unable to determine OpenSSL version: The openssl.exe version could not be determined.";
+	#croak
+	#  "Unable to determine OpenSSL version: The openssl.exe version could not be determined.";
 }
 
 sub GenerateFiles