summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index 351445b1cf4..5a5f76a75e0 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -265,7 +265,7 @@ C</.*-(.*$)/> as a last resort and hope it provides something useful.
sub platform_name {
my ($guessed_platform) = @_;
- $guessed_platform =~ s/^x86_64-(.*-k?)freebsd/amd64-$1freebsd/;
+ $guessed_platform =~ s/^x86_64-(.*-k?)(free|net)bsd/amd64-$1$2bsd/;
my $CPU; # CPU type as reported by config.guess.
my $OS; # O/S type as reported by config.guess.
($CPU = $guessed_platform) =~ s/(.*?)-.*/$1/;
@@ -328,6 +328,7 @@ sub platform_desc {
'alpha-linux' => 'DEC Alpha with GNU/Linux',
'amd64-freebsd' => 'x86_64 with FreeBSD',
'amd64-kfreebsd' => 'x86_64 with GNU/kFreeBSD',
+ 'amd64-netbsd' => 'x86_64 with NetBSD',
'armel-linux' => 'ARM with GNU/Linux',
'armhf-linux' => 'ARMhf with GNU/Linux',
'hppa-hpux' => 'HP-UX',