pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/webkit24-gtk Support a debug-info option (simmilar...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/426108f17311
branches:  trunk
changeset: 381159:426108f17311
user:      martin <martin%pkgsrc.org@localhost>
date:      Fri Jul 01 12:28:12 2022 +0000

description:
Support a debug-info option (simmilar to firefox)

diffstat:

 www/webkit24-gtk/options.mk |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 307eb57ec70c -r 426108f17311 www/webkit24-gtk/options.mk
--- a/www/webkit24-gtk/options.mk       Fri Jul 01 09:58:53 2022 +0000
+++ b/www/webkit24-gtk/options.mk       Fri Jul 01 12:28:12 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.5 2022/06/28 11:26:24 nia Exp $
+# $NetBSD: options.mk,v 1.6 2022/07/01 12:28:12 martin Exp $
 #
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.webkit-gtk
-PKG_SUPPORTED_OPTIONS= debug enchant opengl webkit-jit
+PKG_SUPPORTED_OPTIONS= debug debug-info enchant opengl webkit-jit
 PKG_SUGGESTED_OPTIONS= enchant opengl
 
 .include "../../mk/bsd.prefs.mk"
@@ -39,6 +39,9 @@
 CONFIGURE_ARGS+=       --disable-debug \
                        --enable-optimizations
 .endif
+.if !empty(PKG_OPTIONS:Mdebug-info)
+CONFIGURE_ARGS+=       --enable-debug-symbols=yes
+.endif
 
 #
 # OpenGL support: enable support for GLX, WebGL and accelerated compositing



Home | Main Index | Thread Index | Old Index