diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-26 22:54:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-26 22:54:23 +0000 |
commit | 876e8888da9564dfebb5931452dcfba923c777ee (patch) | |
tree | 56592e0c486c9cc6025faac1cdcc609731947f99 /Master/tlpkg/TeXLive | |
parent | b77fcda8a73fa697d8e7e2e9b4e430567f489ce5 (diff) |
attempt netbsd guessing for i386 and amd64
git-svn-id: svn://tug.org/texlive/trunk@30127 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r-- | Master/tlpkg/TeXLive/TLUtils.pm | 3 |
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', |