diff options
Diffstat (limited to 'audio/amarok-kde3/options.mk')
-rw-r--r-- | audio/amarok-kde3/options.mk | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/audio/amarok-kde3/options.mk b/audio/amarok-kde3/options.mk index 0c2357553a4..17a4edc0a8a 100644 --- a/audio/amarok-kde3/options.mk +++ b/audio/amarok-kde3/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.2 2011/11/21 19:49:19 shattered Exp $ +# $NetBSD: options.mk,v 1.3 2013/02/17 12:21:34 shattered Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.amarok -PKG_SUPPORTED_OPTIONS= libgpod libmtp mysql pgsql +PKG_SUPPORTED_OPTIONS= libgpod libmtp mysql pgsql debug .include "../../mk/bsd.options.mk" @@ -30,3 +30,11 @@ CONFIGURE_ARGS+= --enable-mysql CONFIGURE_ARGS+= --enable-postgresql . include "../../mk/pgsql.buildlink3.mk" .endif + +.if !empty(PKG_OPTIONS:Mdebug) +CC+= -ggdb +CXX+= -ggdb +CONFIGURE_ARGS+= --enable-debug=full +CONFIGURE_ENV+= INSTALL_STRIP_FLAG= +INSTALL_UNSTRIPPED= yes +.endif |