summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/select.mk
blob: fc29eb28ed24b8b2b911b3d74046d021a3add3c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: select.mk,v 1.8 2022/01/28 20:38:18 schmonz 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
# While it's wrong in the above, go14 does not build on NetBSD 5.
.if ${MACHINE_ARCH:Ni386:Nx86_64:Nevbarm:Naarch64} || \
    ${MACHINE_PLATFORM:MSunOS-*-i386} || \
    ${MACHINE_PLATFORM:MDarwin-*-i386} || \
    ${MACHINE_PLATFORM:MNetBSD-[1-5].*-*} || \
    ${MACHINE_PLATFORM} == "NetBSD-9.0-aarch64"
DEPENDS+=	pkglint4>=4.82<5:../../pkgtools/pkglint4
.else
DEPENDS+=	pkglint>=5:../../pkgtools/pkglint
.endif