diff options
author | shattered <shattered> | 2013-02-17 12:21:34 +0000 |
---|---|---|
committer | shattered <shattered> | 2013-02-17 12:21:34 +0000 |
commit | 4bdce58cf2d81b798d63ce2cc81be42c76ac9940 (patch) | |
tree | 1a00d5307598d8dad9a2a29dd00e18247d0e7427 /audio/amarok-kde3 | |
parent | d0b05b716deb42443655c88e0464fb89b38d2275 (diff) | |
download | pkgsrc-4bdce58cf2d81b798d63ce2cc81be42c76ac9940.tar.gz |
Add 'debug' option.
Diffstat (limited to 'audio/amarok-kde3')
-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 |