diff options
author | martin <martin@pkgsrc.org> | 2022-07-01 12:28:12 +0000 |
---|---|---|
committer | martin <martin@pkgsrc.org> | 2022-07-01 12:28:12 +0000 |
commit | b4de0ea4c4cb701df42e687a76ffb8202a4fe1b2 (patch) | |
tree | 95bef1aafc0cb976bee8c2cc4510faea30e173f9 /www | |
parent | e3ce515b982230a096e06dfacd6e88f378d8545c (diff) | |
download | pkgsrc-b4de0ea4c4cb701df42e687a76ffb8202a4fe1b2.tar.gz |
Support a debug-info option (simmilar to firefox)
Diffstat (limited to 'www')
-rw-r--r-- | www/webkit24-gtk/options.mk | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/www/webkit24-gtk/options.mk b/www/webkit24-gtk/options.mk index 66c7ec700c4..39355ae6ceb 100644 --- a/www/webkit24-gtk/options.mk +++ b/www/webkit24-gtk/options.mk @@ -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 |