Wed Mar 23 16:36:53 2016 UTC ()
Exclude NetBSD 1-5 from using go-pkglint

(Surely more systems should be using pkgint4, as it's obvious that
being i386 and no SunOS is not sufficient.  However, this is a
~minimal fix for NetBSD 5.)


(gdt)
diff -r1.3 -r1.4 pkgsrc/pkgtools/pkglint/select.mk

cvs diff -r1.3 -r1.4 pkgsrc/pkgtools/pkglint/select.mk (expand / switch to unified diff)

--- pkgsrc/pkgtools/pkglint/select.mk 2016/02/02 08:00:10 1.3
+++ pkgsrc/pkgtools/pkglint/select.mk 2016/03/23 16:36:53 1.4
@@ -1,14 +1,15 @@ @@ -1,14 +1,15 @@
1# $NetBSD: select.mk,v 1.3 2016/02/02 08:00:10 rillig Exp $ 1# $NetBSD: select.mk,v 1.4 2016/03/23 16:36:53 gdt Exp $
2# 2#
3# Selects the proper version of pkglint, depending on whether the 3# Selects the proper version of pkglint, depending on whether the
4# platform supports the Go programming language. 4# platform supports the Go programming language.
5# 5#
6 6
7.include "../../mk/bsd.fast.prefs.mk" 7.include "../../mk/bsd.fast.prefs.mk"
8 8
9# See lang/go/version.mk 9# See lang/go/version.mk
10.if ${MACHINE_ARCH:Ni386:Nx86_64:Nevbarm} || ${MACHINE_PLATFORM:MSunOS-*-i386} 10# While it's wrong in the above, go14 does not build on NetBSD 5.
 11.if ${MACHINE_ARCH:Ni386:Nx86_64:Nevbarm} || ${MACHINE_PLATFORM:MSunOS-*-i386} || ${MACHINE_PLATFORM:MNetBSD-[1-5]*-*}
11DEPENDS+= pkglint4>=4.82<5:../../pkgtools/pkglint4 12DEPENDS+= pkglint4>=4.82<5:../../pkgtools/pkglint4
12.else 13.else
13DEPENDS+= pkglint>=5:../../pkgtools/pkglint 14DEPENDS+= pkglint>=5:../../pkgtools/pkglint
14.endif 15.endif