summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2016-03-23 16:36:53 +0000
committergdt <gdt@pkgsrc.org>2016-03-23 16:36:53 +0000
commit9fc75b34477440305c1b636bed8ab61c84b546b4 (patch)
tree36d5aeee78d7248dc2179f69a0633e68315a04e7 /pkgtools
parent936a000bcad25ced8cac0177896538a8b7e74cbd (diff)
downloadpkgsrc-9fc75b34477440305c1b636bed8ab61c84b546b4.tar.gz
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.)
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