diff options
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r-- | pkgtools/pkglint/select.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgtools/pkglint/select.mk b/pkgtools/pkglint/select.mk new file mode 100644 index 00000000000..3959b002680 --- /dev/null +++ b/pkgtools/pkglint/select.mk @@ -0,0 +1,14 @@ +# $NetBSD: select.mk,v 1.1 2016/01/12 20:08:17 rillig Exp $ +# +# Selects the proper version of pkglint, depending on whether the +# platform supports the Go programming language. +# + +.include "../../mk/bsd.fast.prefs.mk" + +# See lang/go/version.mk +.if !empty(MACHINE_ARCH:Ni386:Nx86_64:Nevbarm) && !empty(MACHINE_PLATFORM:NSunOS-*-i386) +DEPENDS+= pkglint>=4.82<5:../../pkgtools/pkglint4 +.else +DEPENDS+= pkglint>=5:../../pkgtools/pkglint +.endif |