summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLUtils.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/TeXLive/TLUtils.pm')
-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'
);