-diff -Nuard openssl-0.9.7b.orig/Makefile.org openssl-0.9.7b/Makefile.org
---- openssl-0.9.7b.orig/Makefile.org 2003-04-08 13:54:32.000000000 +0200
-+++ openssl-0.9.7b/Makefile.org 2003-08-20 21:12:53.000000000 +0200
-@@ -578,7 +578,7 @@
+--- openssl-1.0.2i/Makefile.org~ 2016-09-19 18:24:29.000000000 +0300
++++ openssl-1.0.2i/Makefile.org 2016-09-19 18:24:58.456803714 +0300
+@@ -367,7 +367,7 @@
@ ( echo 'prefix=$(INSTALLTOP)'; \
echo 'exec_prefix=$${prefix}'; \
- echo 'libdir=$${exec_prefix}/lib'; \
+ echo 'libdir=$${exec_prefix}/$(LIBDIR)'; \
- echo 'includedir=$${prefix}/include'; \
+ echo 'includedir=$${prefix}/include/openssl'; \
+ echo 'enginesdir=$${libdir}/engines'; \
echo ''; \
- echo 'Name: OpenSSL'; \
- echo 'Description: Secure Sockets Layer and cryptography libraries and tools'; \
---- openssl-0.9.7e.orig/Makefile 2003-04-10 22:47:14.000000000 +0200
-+++ openssl-0.9.7e/Makefile 2003-08-20 21:01:09.000000000 +0200
-@@ -580,7 +580,7 @@
+ echo 'Name: OpenSSL-libcrypto'; \
+@@ -374,7 +374,7 @@
+ @ ( echo 'prefix=$(INSTALLTOP)'; \
+ echo 'exec_prefix=$${prefix}'; \
+ echo 'libdir=$${exec_prefix}/$(LIBDIR)'; \
+- echo 'includedir=$${prefix}/include'; \
++ echo 'includedir=$${prefix}/include/openssl'; \
+ echo ''; \
+ echo 'Name: OpenSSL-libssl'; \
+ echo 'Description: Secure Sockets Layer and cryptography libraries'; \
+@@ -388,7 +388,7 @@
@ ( echo 'prefix=$(INSTALLTOP)'; \
echo 'exec_prefix=$${prefix}'; \
- echo 'libdir=$${exec_prefix}/lib'; \
+ echo 'libdir=$${exec_prefix}/$(LIBDIR)'; \
- echo 'includedir=$${prefix}/include'; \
+ echo 'includedir=$${prefix}/include/openssl'; \
echo ''; \