summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/select.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgtools/pkglint/select.mk b/pkgtools/pkglint/select.mk
index 218ec098d89..56bc9577908 100644
--- a/pkgtools/pkglint/select.mk
+++ b/pkgtools/pkglint/select.mk
@@ -1,4 +1,4 @@
-# $NetBSD: select.mk,v 1.3 2016/02/02 08:00:10 rillig Exp $
+# $NetBSD: select.mk,v 1.4 2016/03/23 16:36:53 gdt Exp $
#
# Selects the proper version of pkglint, depending on whether the
# platform supports the Go programming language.
@@ -7,7 +7,8 @@
.include "../../mk/bsd.fast.prefs.mk"
# See lang/go/version.mk
-.if ${MACHINE_ARCH:Ni386:Nx86_64:Nevbarm} || ${MACHINE_PLATFORM:MSunOS-*-i386}
+# While it's wrong in the above, go14 does not build on NetBSD 5.
+.if ${MACHINE_ARCH:Ni386:Nx86_64:Nevbarm} || ${MACHINE_PLATFORM:MSunOS-*-i386} || ${MACHINE_PLATFORM:MNetBSD-[1-5]*-*}
DEPENDS+= pkglint4>=4.82<5:../../pkgtools/pkglint4
.else
DEPENDS+= pkglint>=5:../../pkgtools/pkglint