diff options
Diffstat (limited to 'openssl1.0.0/patches/28-enginesdir-1.0.1c.patch')
-rw-r--r-- | openssl1.0.0/patches/28-enginesdir-1.0.1c.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/openssl1.0.0/patches/28-enginesdir-1.0.1c.patch b/openssl1.0.0/patches/28-enginesdir-1.0.1c.patch new file mode 100644 index 0000000..8a3407f --- /dev/null +++ b/openssl1.0.0/patches/28-enginesdir-1.0.1c.patch @@ -0,0 +1,53 @@ +diff -dubr source/Configure dir/Configure +--- source/Configure 2012-03-15 02:20:40.000000000 +0400 ++++ dir/Configure 2012-10-30 13:57:56.409598198 +0400 +@@ -18,6 +18,8 @@ + # --prefix option is given; /usr/local/ssl otherwise) + # --prefix prefix for the OpenSSL include, lib and bin directories + # (Default: the OPENSSLDIR directory) ++# --enginesdir engines shared library location ++# (Default: $prefix/lib/engines) + # + # --install_prefix Additional prefix for package builders (empty by + # default). This needn't be set in advance, you can +@@ -658,6 +660,7 @@ + my $prefix=""; + my $libdir=""; + my $openssldir=""; ++my $enginesdir=""; + my $exe_ext=""; + my $install_prefix= "$ENV{'INSTALL_PREFIX'}"; + my $cross_compile_prefix=""; +@@ -886,6 +889,10 @@ + { + $openssldir=$1; + } ++ elsif (/^--enginesdir=(.*)$/) ++ { ++ $enginesdir=$1; ++ } + elsif (/^--install.prefix=(.*)$/) + { + $install_prefix=$1; +@@ -1186,6 +1193,11 @@ + # we're ready to tolerate, so don't... + $multilib="" if !-d "$prefix/lib$multilib"; + ++if ($enginesdir eq "") ++ { ++ $enginesdir = "$prefix/lib$multilib/engines"; ++ } ++ + $libdir="lib$multilib" if $libdir eq ""; + + $cflags = "$cflags$exp_cflags"; +@@ -1802,7 +1814,7 @@ + } + elsif (/^#define\s+ENGINESDIR/) + { +- my $foo = "$prefix/$libdir/engines"; ++ my $foo = $enginesdir; + $foo =~ s/\\/\\\\/g; + print OUT "#define ENGINESDIR \"$foo\"\n"; + } +Only in dir: Configure.orig |