summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2016-02-01 21:40:39 +0000
committerrillig <rillig>2016-02-01 21:40:39 +0000
commitf98dc541ef97812fe40fc5d476858f9fc6d8608c (patch)
tree1ef19212f64cfbbc35c914b4d39d790b778cd293 /pkgtools
parentd72d2259fcba3382b828f5d9b8e8e795d627b36e (diff)
downloadpkgsrc-f98dc541ef97812fe40fc5d476858f9fc6d8608c.tar.gz
Fixed boolean expression for selecting the proper pkglint version
It had been wrong for SunOS-*-i386, which is not supported by the Go programming language, but was forced to use the Go version nevertheless.
Diffstat (limited to 'pkgtools')
-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