diff options
author | jmcneill <jmcneill> | 2013-02-02 12:00:20 +0000 |
---|---|---|
committer | jmcneill <jmcneill> | 2013-02-02 12:00:20 +0000 |
commit | 4b2551f03ddf9a545bd8accd2e2744581453c0a5 (patch) | |
tree | 1b9c8ca9fafc63b665ae1c5829b1b1f9f7d2387f /www/webkit-gtk | |
parent | e367abf5d32eac8303aebe0d354b1557740862d6 (diff) | |
download | pkgsrc-4b2551f03ddf9a545bd8accd2e2744581453c0a5.tar.gz |
add a debug option
Diffstat (limited to 'www/webkit-gtk')
-rw-r--r-- | www/webkit-gtk/options.mk | 10 |
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 |