diff options
author | dholland <dholland@pkgsrc.org> | 2015-12-30 04:16:56 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2015-12-30 04:16:56 +0000 |
commit | b674bca786b4a914fe0809f981714783967fa6df (patch) | |
tree | ea1aa46951cf35ce2004f748b7d118f1e73936bc /pkgtools/pkglint | |
parent | 0982542a5fd244e59b5a02859e7902ea239debb9 (diff) | |
download | pkgsrc-b674bca786b4a914fe0809f981714783967fa6df.tar.gz |
Add Bitrig and MirBSD to the list of OSes.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkglint/files/vartypecheck.go | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index b53b053bf63..48832998fec 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.473 2015/12/10 08:23:15 wiz Exp $ +# $NetBSD: Makefile,v 1.474 2015/12/30 04:16:56 dholland Exp $ -PKGNAME= pkglint-5.2.2.1 +PKGNAME= pkglint-5.2.2.2 DISTFILES= # none CATEGORIES= pkgtools diff --git a/pkgtools/pkglint/files/vartypecheck.go b/pkgtools/pkglint/files/vartypecheck.go index 8179173e7e5..ad5cbec0acc 100644 --- a/pkgtools/pkglint/files/vartypecheck.go +++ b/pkgtools/pkglint/files/vartypecheck.go @@ -193,7 +193,7 @@ func (cv *VartypeCheck) DistSuffix() { func (cv *VartypeCheck) EmulPlatform() { if m, opsys, arch := match2(cv.value, `^(\w+)-(\w+)$`); m { - if !matches(opsys, `^(?:bsdos|cygwin|darwin|dragonfly|freebsd|haiku|hpux|interix|irix|linux|netbsd|openbsd|osf1|sunos|solaris)$`) { + if !matches(opsys, `^(?:bitrig|bsdos|cygwin|darwin|dragonfly|freebsd|haiku|hpux|interix|irix|linux|mirbsd|netbsd|openbsd|osf1|sunos|solaris)$`) { cv.line.warnf("Unknown operating system: %s", opsys) } // no check for os_version @@ -451,7 +451,7 @@ func (cv *VartypeCheck) PlatformTriple() { rePart := `(?:\[[^\]]+\]|[^-\[])+` reTriple := `^(` + rePart + `)-(` + rePart + `)-(` + rePart + `)$` if m, opsys, _, arch := match3(cv.value, reTriple); m { - if !matches(opsys, `^(?:\*|BSDOS|Cygwin|Darwin|DragonFly|FreeBSD|Haiku|HPUX|Interix|IRIX|Linux|NetBSD|OpenBSD|OSF1|QNX|SunOS)$`) { + if !matches(opsys, `^(?:\*|Bitrig|BSDOS|Cygwin|Darwin|DragonFly|FreeBSD|Haiku|HPUX|Interix|IRIX|Linux|MirBSD|NetBSD|OpenBSD|OSF1|QNX|SunOS)$`) { cv.line.warnf("Unknown operating system: %s", opsys) } // no check for os_version |