pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Add "solaris" to EmulPlatform.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e78766391769
branches:  trunk
changeset: 631339:e78766391769
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Mar 02 09:41:31 2014 +0000

description:
Add "solaris" to EmulPlatform.
In pkgsrc emul framework, "sunos" is SunOS 4.x, and "solaris" is SunOS 5.x.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 3a40812560a8 -r e78766391769 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sun Mar 02 09:36:56 2014 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sun Mar 02 09:41:31 2014 +0000
@@ -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 @@
                        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



Home | Main Index | Thread Index | Old Index