-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 @@
+diff -ruN openssl-1.0.2.orig/Makefile.org openssl-1.0.2/Makefile.org
+--- openssl-1.0.2.orig/Makefile.org 2015-01-22 15:58:06.000000000 +0100
++++ openssl-1.0.2/Makefile.org 2015-01-27 16:04:30.564519915 +0100
+@@ -360,7 +360,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 ''; \
- echo 'Name: OpenSSL'; \
- echo 'Description: Secure Sockets Layer and cryptography libraries and tools'; \
-diff -Nuard openssl-0.9.7b.orig/Makefile.ssl openssl-0.9.7b/Makefile.ssl
---- openssl-0.9.7b.orig/Makefile.ssl 2003-04-10 22:47:14.000000000 +0200
-+++ openssl-0.9.7b/Makefile.ssl 2003-08-20 21:01:09.000000000 +0200
-@@ -580,7 +580,7 @@
+ echo 'Name: OpenSSL-libcrypto'; \
+ echo 'Description: OpenSSL cryptography library'; \
+@@ -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 ''; \