Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/firefox firefox: bomb early if dbus is disabled on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d044eedbdbf7
branches:  trunk
changeset: 436532:d044eedbdbf7
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Aug 04 14:00:03 2020 +0000

description:
firefox: bomb early if dbus is disabled on Linux

It cannot be disabled because it is unconditionally depended on
by third-party/rust/audio-thread-priority (and maybe other components?)

diffstat:

 www/firefox/options.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 469de3426a71 -r d044eedbdbf7 www/firefox/options.mk
--- a/www/firefox/options.mk    Tue Aug 04 13:43:17 2020 +0000
+++ b/www/firefox/options.mk    Tue Aug 04 14:00:03 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.56 2020/07/16 19:51:48 riastradh Exp $
+# $NetBSD: options.mk,v 1.57 2020/08/04 14:00:03 tnn Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.firefox
 
@@ -65,6 +65,9 @@
 CONFIGURE_ARGS+=       --enable-dbus
 .else
 CONFIGURE_ARGS+=       --disable-dbus
+.  if ${OPSYS} == "Linux"
+PKG_FAIL_REASON+=      "The dbus PKG_OPTION cannot be disabled on Linux."
+.  endif
 .endif
 
 #PLIST_VARS+=          branding nobranding



Home | Main Index | Thread Index | Old Index