summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorobache <obache>2013-03-06 12:30:01 +0000
committerobache <obache>2013-03-06 12:30:01 +0000
commitf7add1b4f884479a43e62ece6f7dc407ea30c4e8 (patch)
treebf82c5072862c4ce710e07e3287f14ad18a6fc59 /pkgtools
parentd866feca03ec71e4b71ac23fc4b90f1131ef8fc4 (diff)
downloadpkgsrc-f7add1b4f884479a43e62ece6f7dc407ea30c4e8.tar.gz
tell Cygwin and Haiku to pkglint.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index e8e419a3889..64095b195a2 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.849 2013/01/20 02:57:36 schmonz Exp $
+# $NetBSD: pkglint.pl,v 1.850 2013/03/06 12:30:01 obache Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -5043,7 +5043,7 @@ sub checkline_mk_vartype_basic($$$$$$$$) {
if ($value =~ m"^(\w+)-(\w+)$") {
my ($opsys, $arch) = ($1, $2);
- if ($opsys !~ m"^(?:bsdos|darwin|dragonfly|freebsd|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)$") {
$line->log_warning("Unknown operating system: ${opsys}");
}
# no check for $os_version
@@ -5283,7 +5283,7 @@ sub checkline_mk_vartype_basic($$$$$$$$) {
if ($value =~ m"^(${part})-(${part})-(${part})$") {
my ($opsys, $os_version, $arch) = ($1, $2, $3);
- if ($opsys !~ m"^(?:\*|BSDOS|Darwin|DragonFly|FreeBSD|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)$") {
$line->log_warning("Unknown operating system: ${opsys}");
}
# no check for $os_version