summaryrefslogtreecommitdiff
path: root/www
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
commit4d301547fac21ae75e1cc34cd61b55db918272eb (patch)
tree1b9c8ca9fafc63b665ae1c5829b1b1f9f7d2387f /www
parent51b6054a6e50fb07f6e1634124010a3a84a967b6 (diff)
downloadpkgsrc-4d301547fac21ae75e1cc34cd61b55db918272eb.tar.gz
add a debug option
Diffstat (limited to 'www')
-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