summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-07-07 00:38:30 +0000
committerKarl Berry <karl@freefriends.org>2008-07-07 00:38:30 +0000
commit174072ff0da094899d051817c5a4c184fd4ca0a5 (patch)
treef7da19409181f39d360a4afc7998210cda71eaa6 /Master/tlpkg/TeXLive
parent8ce5f3c02630ba0f818866b9e16f6ad4406847ff (diff)
add universal-darwin binaries and support
git-svn-id: svn://tug.org/texlive/trunk@9317 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index 3271e7b9ca6..45a60a17389 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -181,7 +181,9 @@ sub platform {
foreach my $os (@OSs) {
$OS=$os if $guessed_platform=~/$os/;
}
- if ($CPU=~/^i.86$/) {
+ if ($OS eq "darwin") {
+ $CPU = "universal"; # TL provides universal binaries
+ } elsif ($CPU=~/^i.86$/) {
$CPU=~s/i.86/i386/;
}
unless (defined $OS) {
@@ -223,6 +225,7 @@ sub platform_desc {
'powerpc-linux' => 'PowerPC with GNU/Linux',
'sparc-linux' => 'Sparc with GNU/Linux',
'sparc-solaris' => 'Sparc with Solaris',
+ 'universal-darwin' => 'universal binaries for MacOSX/Darwin',
'win32' => 'Windows',
'x86_64-linux' => 'x86_64 with GNU/Linux'
);