texlive[43903] Master/tlpkg/TeXLive/TLUtils.pm: (platform_desc):
commits+karl at tug.org
commits+karl at tug.org
Tue Apr 18 00:37:45 CEST 2017
Revision: 43903
http://tug.org/svn/texlive?view=revision&revision=43903
Author: karl
Date: 2017-04-18 00:37:44 +0200 (Tue, 18 Apr 2017)
Log Message:
-----------
(platform_desc): explicit macosx version numbers.
Modified Paths:
--------------
trunk/Master/tlpkg/TeXLive/TLUtils.pm
Modified: trunk/Master/tlpkg/TeXLive/TLUtils.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLUtils.pm 2017-04-17 22:26:24 UTC (rev 43902)
+++ trunk/Master/tlpkg/TeXLive/TLUtils.pm 2017-04-17 22:37:44 UTC (rev 43903)
@@ -299,7 +299,7 @@
# (BTW, uname -r numbers are larger by 4 than the minor version.
# We don't use uname numbers here.)
#
- my $mactex_version = 10; # this will change in the future.
+ my $mactex_darwin = 10; # the minor 10; this will change in the future.
#
# Most robust approach is apparently to check sw_vers (os version,
# returns "10.x" values), and sysctl (processor hardware).
@@ -306,7 +306,8 @@
chomp (my $sw_vers = `sw_vers -productVersion`);
my ($os_major,$os_minor) = split (/\./, $sw_vers);
if ($os_major != 10) {
- warn "$0: only MacOSX is supported, not $OS $os_major.$os_minor (from $sw_vers)\n";
+ warn "$0: only MacOSX is supported, not $OS $os_major.$os_minor "
+ . " (from sw_vers -productVersion: $sw_vers)\n";
return "unknown-unknown";
}
if ($os_minor >= $mactex_darwin) {
@@ -355,25 +356,25 @@
'armhf-linux' => 'GNU/Linux on ARMhf',
'hppa-hpux' => 'HP-UX',
'i386-cygwin' => 'Cygwin on Intel x86',
- 'i386-darwin' => 'MacOSX/Darwin legacy, on Intel x86',
+ 'i386-darwin' => 'MacOSX legacy (10.5-10.6) on Intel x86',
'i386-freebsd' => 'FreeBSD on Intel x86',
'i386-kfreebsd' => 'GNU/kFreeBSD on Intel x86',
+ 'i386-linux' => 'GNU/Linux on Intel x86',
+ 'i386-netbsd' => 'NetBSD on Intel x86',
'i386-openbsd' => 'OpenBSD on Intel x86',
- 'i386-netbsd' => 'NetBSD on Intel x86',
- 'i386-linux' => 'GNU/Linux on Intel x86',
'i386-solaris' => 'Solaris on Intel x86',
'mips-irix' => 'SGI IRIX',
'mipsel-linux' => 'GNU/Linux on MIPSel',
'powerpc-aix' => 'AIX on PowerPC',
- 'powerpc-darwin' => 'MacOSX/Darwin legacy on PowerPC',
+ 'powerpc-darwin' => 'MacOSX legacy (10.5) on PowerPC',
'powerpc-linux' => 'GNU/Linux on PowerPC',
'sparc-linux' => 'GNU/Linux on Sparc',
'sparc-solaris' => 'Solaris on Sparc',
- 'universal-darwin' => 'MacOSX/Darwin universal binaries',
+ 'universal-darwin' => 'MacOSX universal binaries',
'win32' => 'Windows',
'x86_64-cygwin' => 'Cygwin on x86_64',
- 'x86_64-darwinlegacy' => 'MacOSX/Darwin legacy on x86_64',
- 'x86_64-darwin' => 'MacOSX/Darwin current on x86_64',
+ 'x86_64-darwin' => 'MacOSX current on x86_64',
+ 'x86_64-darwinlegacy' => 'MacOSX legacy (10.6-10.9) on x86_64',
'x86_64-linux' => 'GNU/Linux on x86_64',
'x86_64-solaris' => 'Solaris on x86_64',
);
More information about the tex-live-commits
mailing list