2016-03-23 17:36:53 +01:00
|
|
|
# $NetBSD: select.mk,v 1.4 2016/03/23 16:36:53 gdt Exp $
|
2016-01-12 21:08:17 +01:00
|
|
|
#
|
|
|
|
# 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
|
2016-03-23 17:36:53 +01:00
|
|
|
# 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]*-*}
|
2016-02-02 09:00:10 +01:00
|
|
|
DEPENDS+= pkglint4>=4.82<5:../../pkgtools/pkglint4
|
2016-01-12 21:08:17 +01:00
|
|
|
.else
|
|
|
|
DEPENDS+= pkglint>=5:../../pkgtools/pkglint
|
|
|
|
.endif
|