summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-05-05 08:21:33 +0000
committernia <nia@pkgsrc.org>2022-05-05 08:21:33 +0000
commitcb07a24bec2df2e083a25e197013102dba8b4953 (patch)
tree23174d317a435d9a971b624a7d70d5d26b4111dd /security
parent7d689aa83a8fe70897bc014167a7dbcb5e92beb9 (diff)
downloadpkgsrc-cb07a24bec2df2e083a25e197013102dba8b4953.tar.gz
firefox*: Use OPSYS_VERSION to numerically compare NetBSD versions
Diffstat (limited to 'security')
-rw-r--r--security/tor-browser/options.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/tor-browser/options.mk b/security/tor-browser/options.mk
index 38d27c41079..785f2e4d557 100644
--- a/security/tor-browser/options.mk
+++ b/security/tor-browser/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.11 2022/05/01 00:22:58 khorben Exp $
+# $NetBSD: options.mk,v 1.12 2022/05/05 08:21:33 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.tor-browser
@@ -12,7 +12,7 @@ PKG_SUGGESTED_OPTIONS+= pulseaudio mozilla-jemalloc dbus webrtc
PKG_SUGGESTED_OPTIONS+= dbus
.endif
-.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-8].*)
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 090000
PKG_SUGGESTED_OPTIONS+= webrtc
.endif