summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLPDB.pm
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2019-12-10 06:17:16 +0000
committerNorbert Preining <preining@logic.at>2019-12-10 06:17:16 +0000
commitf201f6cfe15e09e8d152c6b4d8f7c7cb1bb0f7c7 (patch)
tree035bcbef184362709842a6faa0fb2f7be7cad947 /Master/tlpkg/TeXLive/TLPDB.pm
parent47761d79211f68fab08d6fff4b3d857b85e9dba3 (diff)
work on win64 support
git-svn-id: svn://tug.org/texlive/trunk@53075 c570f23f-e606-0410-a88d-b1316a301751
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 5ff686d5a78..30a6138b33e 100644
--- a/Master/tlpkg/TeXLive/TLPDB.pm
+++ b/Master/tlpkg/TeXLive/TLPDB.pm
@@ -918,6 +918,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;
}