diff options
author | obache <obache> | 2014-03-02 09:41:31 +0000 |
---|---|---|
committer | obache <obache> | 2014-03-02 09:41:31 +0000 |
commit | daf459f2745dcea21e4b2ca68f34aa49f69ede10 (patch) | |
tree | 99f0e62a5f494b0fb027d4ce7c8ec9a1f1c660d6 /pkgtools | |
parent | 3f899edbf37dee2aa989663d893b43219edf765d (diff) | |
download | pkgsrc-daf459f2745dcea21e4b2ca68f34aa49f69ede10.tar.gz |
Add "solaris" to EmulPlatform.
In pkgsrc emul framework, "sunos" is SunOS 4.x, and "solaris" is SunOS 5.x.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 43162e9218e..ffbb3390126 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -1,5 +1,5 @@ #! @PERL@ -# $NetBSD: pkglint.pl,v 1.864 2014/03/02 08:56:54 obache Exp $ +# $NetBSD: pkglint.pl,v 1.865 2014/03/02 09:41:31 obache Exp $ # # pkglint - static analyzer and checker for pkgsrc packages @@ -4029,7 +4029,7 @@ sub checkline_mk_vartype_basic($$$$$$$$) { if ($value =~ m"^(\w+)-(\w+)$") { my ($opsys, $arch) = ($1, $2); - if ($opsys !~ m"^(?:bsdos|cygwin|darwin|dragonfly|freebsd|haiku|hpux|interix|irix|linux|netbsd|openbsd|osf1|sunos)$") { + if ($opsys !~ m"^(?:bsdos|cygwin|darwin|dragonfly|freebsd|haiku|hpux|interix|irix|linux|netbsd|openbsd|osf1|sunos|solaris)$") { $line->log_warning("Unknown operating system: ${opsys}"); } # no check for $os_version |