7d8bb2407a
(Surely more systems should be using pkgint4, as it's obvious that being i386 and no SunOS is not sufficient. However, this is a ~minimal fix for NetBSD 5.)
15 lines
534 B
Makefile
15 lines
534 B
Makefile
# $NetBSD: select.mk,v 1.4 2016/03/23 16:36:53 gdt 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} || ${MACHINE_PLATFORM:MSunOS-*-i386} || ${MACHINE_PLATFORM:MNetBSD-[1-5]*-*}
|
|
DEPENDS+= pkglint4>=4.82<5:../../pkgtools/pkglint4
|
|
.else
|
|
DEPENDS+= pkglint>=5:../../pkgtools/pkglint
|
|
.endif
|