summaryrefslogtreecommitdiff
path: root/sysutils/gkrellm
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-05-05 08:31:16 +0000
committernia <nia@pkgsrc.org>2022-05-05 08:31:16 +0000
commit25a67871191c48f8cf1c6996866185ede863b681 (patch)
tree24d27c3828950c712d234dbf9932248275b540f6 /sysutils/gkrellm
parenta941493d20eecc1c80e05a10dd2c764537d01d48 (diff)
downloadpkgsrc-25a67871191c48f8cf1c6996866185ede863b681.tar.gz
gkrellm: Use OPSYS_VERSION to numerically compare NetBSD versions
Diffstat (limited to 'sysutils/gkrellm')
-rw-r--r--sysutils/gkrellm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/gkrellm/Makefile b/sysutils/gkrellm/Makefile
index f3687693a1d..c48429d28ad 100644
--- a/sysutils/gkrellm/Makefile
+++ b/sysutils/gkrellm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.108 2021/12/08 16:02:38 adam Exp $
+# $NetBSD: Makefile,v 1.109 2022/05/05 08:31:16 nia Exp $
.include "Makefile.common"
PKGREVISION= 47
@@ -16,7 +16,7 @@ USE_TOOLS+= pkg-config
# NetBSD 3.99.1 and above don't have to be installed setgid.
.if (${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "DragonFly" || \
- (${OPSYS} == "NetBSD" && (!empty(OS_VERSION:M[123].*) && empty(OS_VERSION:M3.99.*))))
+ (${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 039900))
SPECIAL_PERMS+= ${PREFIX}/bin/gkrellm ${BINOWN} kmem 2555
.endif