aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/openssl/unix/move-openssldir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/openssl/unix/move-openssldir.patch')
-rw-r--r--vcpkg/ports/openssl/unix/move-openssldir.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/vcpkg/ports/openssl/unix/move-openssldir.patch b/vcpkg/ports/openssl/unix/move-openssldir.patch
new file mode 100644
index 0000000..2a39bdb
--- /dev/null
+++ b/vcpkg/ports/openssl/unix/move-openssldir.patch
@@ -0,0 +1,16 @@
+diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl
+index c82c086..6c5402d 100644
+--- a/Configurations/unix-Makefile.tmpl
++++ b/Configurations/unix-Makefile.tmpl
+@@ -690,6 +690,11 @@ install_ssldirs:
+ chmod 644 "$(DESTDIR)$(OPENSSLDIR)/ct_log_list.cnf"; \
+ fi
+
++ $(PERL) $(SRCDIR)/util/mkdir-p.pl $(DESTDIR)$(INSTALLTOP)$(OPENSSLDIR)
++ for I in $(DESTDIR)$(OPENSSLDIR)/*; do \
++ mv $$I $(DESTDIR)$(INSTALLTOP)$(OPENSSLDIR)/; \
++ done
++
+ install_dev: install_runtime_libs
+ @[ -n "$(INSTALLTOP)" ] || (echo INSTALLTOP should not be empty; exit 1)
+ @$(ECHO) "*** Installing development files"