summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLPDB.pm
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-12-11 13:46:41 +0900
committerNorbert Preining <norbert@preining.info>2020-04-25 22:43:43 +0900
commit9b35a913dd8d865721e66310498da41653f5af7e (patch)
tree45c839a3ccf2505ffdb12011458898f3b860efa1 /Master/tlpkg/TeXLive/TLPDB.pm
parent803980524c9abc5919a821b170590ea0e1d11650 (diff)
work on win64 support
Diffstat (limited to 'Master/tlpkg/TeXLive/TLPDB.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLPDB.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm
index d5c0f6cb463..9880e6d370e 100644
--- a/Master/tlpkg/TeXLive/TLPDB.pm
+++ b/Master/tlpkg/TeXLive/TLPDB.pm
@@ -877,6 +877,12 @@ sub expand_dependencies {
if (grep(/^win32$/,@archs)) {
$install{$p_dep} = 0;
}
+ } elsif ($p_dep =~ m/^(.*)\.win64$/) {
+ # a win32 package should *only* be installed if we are installing
+ # the win64 arch
+ if (grep(/^win64$/,@archs)) {
+ $install{$p_dep} = 0;
+ }
} else {
$install{$p_dep} = 0 unless $only_arch;
}