Hi,
in order to successfully run 'make -n install' I had to apply the attached
patch.
Regards
Peter Breitenlohner <[email protected]>
diff -ur openssl-1.0.0a.orig/Makefile openssl-1.0.0a/Makefile
--- openssl-1.0.0a.orig/Makefile 2010-06-01 15:38:55.000000000 +0200
+++ openssl-1.0.0a/Makefile 2010-10-08 13:42:40.871391290 +0200
@@ -496,6 +496,9 @@
install: all install_docs install_sw
+# avoid using $(MAKE) in recipes to be skipped by 'make -n'
+my_MAKE = $(MAKE)
+
install_sw:
@$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \
$(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR) \
@@ -554,7 +557,7 @@
done; \
( here="`pwd`"; \
cd $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR); \
- $(MAKE) -f $$here/Makefile HERE="$$here" link-shared );
\
+ $(my_MAKE) -f $$here/Makefile HERE="$$here" link-shared
); \
if [ "$(INSTALLTOP)" != "/usr" ]; then \
echo 'OpenSSL shared libraries have been installed
in:'; \
echo ' $(INSTALLTOP)'; \
diff -ur openssl-1.0.0a.orig/Makefile.org openssl-1.0.0a/Makefile.org
--- openssl-1.0.0a.orig/Makefile.org 2010-01-27 17:06:58.000000000 +0100
+++ openssl-1.0.0a/Makefile.org 2010-10-08 13:42:40.631397090 +0200
@@ -494,6 +494,9 @@
install: all install_docs install_sw
+# avoid using $(MAKE) in recipes to be skipped by 'make -n'
+my_MAKE = $(MAKE)
+
install_sw:
@$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \
$(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR) \
@@ -552,7 +555,7 @@
done; \
( here="`pwd`"; \
cd $(INSTALL_PREFIX)$(INSTALLTOP)/$(LIBDIR); \
- $(MAKE) -f $$here/Makefile HERE="$$here" link-shared );
\
+ $(my_MAKE) -f $$here/Makefile HERE="$$here" link-shared
); \
if [ "$(INSTALLTOP)" != "/usr" ]; then \
echo 'OpenSSL shared libraries have been installed
in:'; \
echo ' $(INSTALLTOP)'; \