pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/webkit24-gtk



Module Name:    pkgsrc
Committed By:   martin
Date:           Fri Jul  1 12:28:12 UTC 2022

Modified Files:
        pkgsrc/www/webkit24-gtk: options.mk

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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/webkit24-gtk/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/webkit24-gtk/options.mk
diff -u pkgsrc/www/webkit24-gtk/options.mk:1.5 pkgsrc/www/webkit24-gtk/options.mk:1.6
--- pkgsrc/www/webkit24-gtk/options.mk:1.5      Tue Jun 28 11:26:24 2022
+++ pkgsrc/www/webkit24-gtk/options.mk  Fri Jul  1 12:28:12 2022
@@ -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+=      --enable-debug \
 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