Index: openssl-1.0.2a/Configure =================================================================== --- openssl-1.0.2a.orig/Configure 2015-04-03 21:33:54.286437754 +0200 +++ openssl-1.0.2a/Configure 2015-04-03 21:42:55.431975088 +0200 @@ -1889,7 +1889,8 @@ while () } elsif (/^#define\s+ENGINESDIR/) { - my $foo = "$prefix/$libdir/engines"; + #my $foo = "$prefix/$libdir/engines"; + my $foo = "/$libdir/engines"; $foo =~ s/\\/\\\\/g; print OUT "#define ENGINESDIR \"$foo\"\n"; }