summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/select.mk
blob: 3959b0026802ddc016f249d9924f828bb89a856c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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