diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-18 21:20:16 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-10-18 21:20:16 -0700 |
| commit | 2dede88deb85ef7a5f24b5e4e608069553d36a8c (patch) | |
| tree | 50efb913be6bcf02b3c207faf10aeca36faa9019 /ports/openssl/PerlScriptSpaceInPathFixes.patch | |
| parent | 7dea245b9ce2c8d1902c3905c925e4b2f0a4d38b (diff) | |
| download | vcpkg-2dede88deb85ef7a5f24b5e4e608069553d36a8c.tar.gz vcpkg-2dede88deb85ef7a5f24b5e4e608069553d36a8c.zip | |
[openssl] Patches to allow building when path includes spaces
Diffstat (limited to 'ports/openssl/PerlScriptSpaceInPathFixes.patch')
| -rw-r--r-- | ports/openssl/PerlScriptSpaceInPathFixes.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ports/openssl/PerlScriptSpaceInPathFixes.patch b/ports/openssl/PerlScriptSpaceInPathFixes.patch new file mode 100644 index 000000000..b3a52fc97 --- /dev/null +++ b/ports/openssl/PerlScriptSpaceInPathFixes.patch @@ -0,0 +1,35 @@ +diff --git a/util/copy.pl b/util/copy.pl +index eba6d58..5d971a2 100644 +--- a/util/copy.pl ++++ b/util/copy.pl +@@ -19,7 +19,7 @@ foreach $arg (@ARGV) { + next; + } + $arg =~ s|\\|/|g; # compensate for bug/feature in cygwin glob... +- foreach (glob $arg) ++ foreach (glob "\"$arg\"") + { + push @filelist, $_; + } +diff --git a/util/mk1mf.pl b/util/mk1mf.pl +index 128a405..fd853da 100644 +--- a/util/mk1mf.pl ++++ b/util/mk1mf.pl +@@ -427,7 +427,7 @@ EOF + { + $extra_install .= <<"EOF" + \$(MKDIR) \"\$(INSTALLTOP)${o}lib${o}engines\" +- \$(CP) \"\$(E_SHLIB)\" \"\$(INSTALLTOP)${o}lib${o}engines\" ++ \$(CP) \$(E_SHLIB) \"\$(INSTALLTOP)${o}lib${o}engines\" + EOF + } + } +@@ -607,7 +607,7 @@ install: all + \$(MKDIR) \"\$(INSTALLTOP)${o}include${o}openssl\" + \$(MKDIR) \"\$(INSTALLTOP)${o}lib\" + \$(CP) \"\$(INCO_D)${o}*.\[ch\]\" \"\$(INSTALLTOP)${o}include${o}openssl\" +- \$(CP) \"\$(BIN_D)$o\$(E_EXE)$exep \$(INSTALLTOP)${o}bin\" ++ \$(CP) \"\$(BIN_D)$o\$(E_EXE)$exep\" \"\$(INSTALLTOP)${o}bin\" + \$(MKDIR) \"\$(OPENSSLDIR)\" + \$(CP) apps${o}openssl.cnf \"\$(OPENSSLDIR)\" + $extra_install |
