details: https://anonhg.NetBSD.org/pkgsrc/rev/7822ac9c8c48
branches: trunk
changeset: 378698:7822ac9c8c48
user: nia <nia%pkgsrc.org@localhost>
date: Thu May 05 08:21:33 2022 +0000
description:
firefox*: Use OPSYS_VERSION to numerically compare NetBSD versions
diffstat:
security/tor-browser/options.mk | 4 ++--
www/firefox/options.mk | 4 ++--
www/firefox68/options.mk | 4 ++--
www/firefox78/options.mk | 4 ++--
www/firefox91/options.mk | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
diffs (90 lines):
diff -r 7e41df9bfcda -r 7822ac9c8c48 security/tor-browser/options.mk
--- a/security/tor-browser/options.mk Thu May 05 08:20:45 2022 +0000
+++ b/security/tor-browser/options.mk Thu May 05 08:21:33 2022 +0000
@@ -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+= dbus
.endif
-.if ${OPSYS} == "NetBSD" && empty(OS_VERSION:M[0-8].*)
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} >= 090000
PKG_SUGGESTED_OPTIONS+= webrtc
.endif
diff -r 7e41df9bfcda -r 7822ac9c8c48 www/firefox/options.mk
--- a/www/firefox/options.mk Thu May 05 08:20:45 2022 +0000
+++ b/www/firefox/options.mk Thu May 05 08:21:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.64 2021/09/16 21:12:48 nia Exp $
+# $NetBSD: options.mk,v 1.65 2022/05/05 08:21:33 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.firefox
@@ -12,7 +12,7 @@
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
diff -r 7e41df9bfcda -r 7822ac9c8c48 www/firefox68/options.mk
--- a/www/firefox68/options.mk Thu May 05 08:20:45 2022 +0000
+++ b/www/firefox68/options.mk Thu May 05 08:21:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.12 2020/11/18 22:38:22 riastradh Exp $
+# $NetBSD: options.mk,v 1.13 2022/05/05 08:21:33 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.firefox
@@ -13,7 +13,7 @@
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
diff -r 7e41df9bfcda -r 7822ac9c8c48 www/firefox78/options.mk
--- a/www/firefox78/options.mk Thu May 05 08:20:45 2022 +0000
+++ b/www/firefox78/options.mk Thu May 05 08:21:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.6 2021/12/28 20:05:49 nia Exp $
+# $NetBSD: options.mk,v 1.7 2022/05/05 08:21:33 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.firefox
@@ -13,7 +13,7 @@
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
diff -r 7e41df9bfcda -r 7822ac9c8c48 www/firefox91/options.mk
--- a/www/firefox91/options.mk Thu May 05 08:20:45 2022 +0000
+++ b/www/firefox91/options.mk Thu May 05 08:21:33 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2021/09/16 20:45:38 nia Exp $
+# $NetBSD: options.mk,v 1.3 2022/05/05 08:21:33 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.firefox
@@ -12,7 +12,7 @@
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