summaryrefslogtreecommitdiff
path: root/www/webkit-gtk
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2013-02-02 12:00:20 +0000
committerjmcneill <jmcneill@pkgsrc.org>2013-02-02 12:00:20 +0000
commitc04a45043194efb2433a10fb66bc6330d217bec5 (patch)
tree1b9c8ca9fafc63b665ae1c5829b1b1f9f7d2387f /www/webkit-gtk
parent611d77a15b3d06a877fd7aaa15667beb1b199467 (diff)
downloadpkgsrc-c04a45043194efb2433a10fb66bc6330d217bec5.tar.gz
add a debug option
Diffstat (limited to 'www/webkit-gtk')
-rw-r--r--www/webkit-gtk/options.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/www/webkit-gtk/options.mk b/www/webkit-gtk/options.mk
index b1d5e54f8bb..c7986a6d617 100644
--- a/www/webkit-gtk/options.mk
+++ b/www/webkit-gtk/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.1 2010/04/12 02:26:39 obache Exp $
+# $NetBSD: options.mk,v 1.2 2013/02/02 12:00:20 jmcneill Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.webkit-gtk
-PKG_SUPPORTED_OPTIONS= webkit-jit
+PKG_SUPPORTED_OPTIONS= webkit-jit debug
PKG_SUGGESTED_OPTIONS= webkit-jit
.include "../../mk/bsd.options.mk"
@@ -12,3 +12,9 @@ CONFIGURE_ARGS+= --enable-jit
.else
CONFIGURE_ARGS+= --disable-jit
.endif
+
+.if !empty(PKG_OPTIONS:Mdebug)
+CONFIGURE_ARGS+= --enable-debug
+.else
+CONFIGURE_ARGS+= --disable-debug
+.endif