pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/tor-browser tor-browser: fix building with th...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c7f4efdcb314
branches:  trunk
changeset: 378244:c7f4efdcb314
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Sun May 01 00:22:58 2022 +0000

description:
tor-browser: fix building with the "debug" option

Interestingly, it only partially matches www/firefox78/PLIST, with which it
shares a lot of packaging code.

diffstat:

 security/tor-browser/PLIST      |  7 ++++++-
 security/tor-browser/options.mk |  4 +++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diffs (48 lines):

diff -r 1fa1fcb3a69e -r c7f4efdcb314 security/tor-browser/PLIST
--- a/security/tor-browser/PLIST        Sat Apr 30 22:01:42 2022 +0000
+++ b/security/tor-browser/PLIST        Sun May 01 00:22:58 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.18 2021/11/01 21:41:59 wiz Exp $
+@comment $NetBSD: PLIST,v 1.19 2022/05/01 00:22:58 khorben Exp $
 bin/tor-browser
 lib/tor-browser/actors/AboutHttpsOnlyErrorChild.jsm
 lib/tor-browser/actors/AboutHttpsOnlyErrorParent.jsm
@@ -2908,10 +2908,15 @@
 lib/tor-browser/browser/chrome/devtools/modules/devtools/client/shared/vendor/immutable.js
 lib/tor-browser/browser/chrome/devtools/modules/devtools/client/shared/vendor/jszip.js
 lib/tor-browser/browser/chrome/devtools/modules/devtools/client/shared/vendor/lodash.js
+${PLIST.debug}lib/tor-browser/browser/chrome/devtools/modules/devtools/client/shared/vendor/react-dev.js
+${PLIST.debug}lib/tor-browser/browser/chrome/devtools/modules/devtools/client/shared/vendor/react-dom-dev.js
 lib/tor-browser/browser/chrome/devtools/modules/devtools/client/shared/vendor/react-dom-factories.js
+${PLIST.debug}lib/tor-browser/browser/chrome/devtools/modules/devtools/client/shared/vendor/react-dom-server-dev.js
 lib/tor-browser/browser/chrome/devtools/modules/devtools/client/shared/vendor/react-dom-server.js
+${PLIST.debug}lib/tor-browser/browser/chrome/devtools/modules/devtools/client/shared/vendor/react-dom-test-utils-dev.js
 lib/tor-browser/browser/chrome/devtools/modules/devtools/client/shared/vendor/react-dom-test-utils.js
 lib/tor-browser/browser/chrome/devtools/modules/devtools/client/shared/vendor/react-dom.js
+${PLIST.debug}lib/tor-browser/browser/chrome/devtools/modules/devtools/client/shared/vendor/react-prop-types-dev.js
 lib/tor-browser/browser/chrome/devtools/modules/devtools/client/shared/vendor/react-prop-types.js
 lib/tor-browser/browser/chrome/devtools/modules/devtools/client/shared/vendor/react-redux.js
 lib/tor-browser/browser/chrome/devtools/modules/devtools/client/shared/vendor/react-router-dom.js
diff -r 1fa1fcb3a69e -r c7f4efdcb314 security/tor-browser/options.mk
--- a/security/tor-browser/options.mk   Sat Apr 30 22:01:42 2022 +0000
+++ b/security/tor-browser/options.mk   Sun May 01 00:22:58 2022 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: options.mk,v 1.10 2020/11/18 22:38:21 riastradh Exp $
+# $NetBSD: options.mk,v 1.11 2022/05/01 00:22:58 khorben Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.tor-browser
 
 PKG_SUPPORTED_OPTIONS+=        debug debug-info mozilla-jemalloc webrtc
 PKG_SUPPORTED_OPTIONS+=        alsa pulseaudio dbus
+PLIST_VARS+=           debug
 
 .if ${OPSYS} == "Linux"
 PKG_SUGGESTED_OPTIONS+=        pulseaudio mozilla-jemalloc dbus webrtc
@@ -36,6 +37,7 @@
 CONFIGURE_ARGS+=       --disable-optimize
 CONFIGURE_ARGS+=       --enable-debug-js-modules
 CONFIGURE_ARGS+=       --disable-install-strip
+PLIST.debug=           yes
 .else
 .  if !empty(PKG_OPTIONS:Mdebug-info)
 CONFIGURE_ARGS+=       --enable-debug-symbols



Home | Main Index | Thread Index | Old Index