summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLUtils.pm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-24 00:05:35 +0000
committerKarl Berry <karl@freefriends.org>2010-05-24 00:05:35 +0000
commitfd0b0388052142e91b9d5ae0464fc054ee89bc1c (patch)
tree7e53527dc92a9502c7433ba2ec02ba005ecfc785 /Master/tlpkg/TeXLive/TLUtils.pm
parent6e411d4c9dba73649f1ca5e25984ae667d57997a (diff)
x86_64-darwin 2010 pretest 1 binaries for snow leopard (koch)
git-svn-id: svn://tug.org/texlive/trunk@18441 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLUtils.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index 96b801ee46e..26e36185573 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -233,7 +233,10 @@ sub platform
$OS = $os if $guessed_platform =~ /\b$os/;
}
if ($OS eq "darwin") {
- $CPU = "universal"; # TL provides universal binaries
+ # We never want to guess x86_64-darwin even if config.guess
+ # does, because Leopard can be 64-bit but our x86_64-darwin
+ # binaries will only run on Snow Leopard.
+ $CPU = "universal";
} elsif ($CPU =~ /^i.86$/) {
$CPU = "i386"; # 586, 686, whatever
}
@@ -278,6 +281,7 @@ sub platform_desc {
'sparc-solaris' => 'Sparc with Solaris',
'universal-darwin' => 'universal binaries for MacOSX/Darwin',
'win32' => 'Windows',
+ 'x86_64-darwin' => 'x86_64 with MacOSX/Darwin'
'x86_64-linux' => 'x86_64 with GNU/Linux'
);