summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgtools/pkglint/select.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/select.mk b/pkgtools/pkglint/select.mk
index 3959b002680..8dccff67ba1 100644
--- a/pkgtools/pkglint/select.mk
+++ b/pkgtools/pkglint/select.mk
@@ -1,4 +1,4 @@
-# $NetBSD: select.mk,v 1.1 2016/01/12 20:08:17 rillig Exp $
+# $NetBSD: select.mk,v 1.2 2016/02/01 21:40:39 rillig Exp $
#
# Selects the proper version of pkglint, depending on whether the
# platform supports the Go programming language.
@@ -7,7 +7,7 @@
.include "../../mk/bsd.fast.prefs.mk"
# See lang/go/version.mk
-.if !empty(MACHINE_ARCH:Ni386:Nx86_64:Nevbarm) && !empty(MACHINE_PLATFORM:NSunOS-*-i386)
+.if ${MACHINE_ARCH:Ni386:Nx86_64:Nevbarm} || ${MACHINE_PLATFORM:MSunOS-*-i386}
DEPENDS+= pkglint>=4.82<5:../../pkgtools/pkglint4
.else
DEPENDS+= pkglint>=5:../../pkgtools/pkglint