summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/select.mk
blob: 218ec098d89ef597d3d678d01fe75f61c6b50736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# $NetBSD: select.mk,v 1.3 2016/02/02 08:00:10 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 ${MACHINE_ARCH:Ni386:Nx86_64:Nevbarm} || ${MACHINE_PLATFORM:MSunOS-*-i386}
DEPENDS+=	pkglint4>=4.82<5:../../pkgtools/pkglint4
.else
DEPENDS+=	pkglint>=5:../../pkgtools/pkglint
.endif