diff options
author | rillig <rillig@pkgsrc.org> | 2016-02-01 21:40:39 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2016-02-01 21:40:39 +0000 |
commit | a14cdac51cef3b6a0d23ffc1c4432ecdfe87e5e7 (patch) | |
tree | 1ef19212f64cfbbc35c914b4d39d790b778cd293 /pkgtools | |
parent | e5fdafdd70b948f79dadc86c135c818ce213676c (diff) | |
download | pkgsrc-a14cdac51cef3b6a0d23ffc1c4432ecdfe87e5e7.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.mk | 4 |
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 |