blob: 2ce5d7205da35d0e444f4b2d97f61a4104a138e4 (
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
|
$NetBSD: patch-aa,v 1.3 2003/02/09 08:09:09 shell Exp $
--- Makefile.PL.orig Sun Feb 9 14:08:27 2003
+++ Makefile.PL
@@ -13,7 +13,7 @@ my $currdir = dirname($0) || '.';
chdir($currdir) || die("can't change to $currdir: $!");
# FIND POSSIBLE SSL INSTALLATIONS
-my @POSSIBLE_SSL_DIRS = qw(/usr/local/openssl /usr/local/ssl /local/ssl /opt/ssl /usr/local /local /usr);
+my @POSSIBLE_SSL_DIRS = qw(%%SSLBASE%%);
if($^O eq 'MSWin32') {
unshift(@POSSIBLE_SSL_DIRS, 'c:/openssl');
}
@@ -40,7 +40,8 @@ if (@CANDIDATE == 1) {
}
}
-my $SSL_DIR;
+my $SSL_DIR = $CANDIDATE[0][0];
+<<__SKIP__;
if($opt_default && (@CANDIDATE == 1) && $CANDIDATE[0][0]) {
$SSL_DIR = $CANDIDATE[0][0];
print "Using --default OpenSSL candidate found at $SSL_DIR\n";
@@ -51,9 +52,10 @@ if($opt_default && (@CANDIDATE == 1) &&
unless($CANDIDATE[0][0]) {
print "No OpenSSL installation found, usually in $POSSIBLE_SSL_DIRS[0]\n";
}
- $SSL_DIR = prompt "Which OpenSSL build path do you want to link against?", $CANDIDATE[0][0];
+ $SSL_DIR = $CANDIDATE[0][0];
}
}
+__SKIP__
my $candidate = &Candidate($SSL_DIR);
unless($candidate) {
|