summaryrefslogtreecommitdiff
path: root/security/p5-Crypt-SSLeay/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'security/p5-Crypt-SSLeay/patches/patch-aa')
-rw-r--r--security/p5-Crypt-SSLeay/patches/patch-aa35
1 files changed, 35 insertions, 0 deletions
diff --git a/security/p5-Crypt-SSLeay/patches/patch-aa b/security/p5-Crypt-SSLeay/patches/patch-aa
new file mode 100644
index 00000000000..b0b46dd075a
--- /dev/null
+++ b/security/p5-Crypt-SSLeay/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/01/20 20:08:53 wiz 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) {