summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/bibletime/bibletime-2.10.1.ebuild')
-rw-r--r--app-text/bibletime/bibletime-2.10.1.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/app-text/bibletime/bibletime-2.10.1.ebuild b/app-text/bibletime/bibletime-2.10.1.ebuild
index 1c936e4..bca998c 100644
--- a/app-text/bibletime/bibletime-2.10.1.ebuild
+++ b/app-text/bibletime/bibletime-2.10.1.ebuild
@@ -31,6 +31,15 @@ pkg_setup() {
}
src_configure() {
- mycmakeargs="${mycmakeargs} -DUSE_QT_WEBKIT=ON"
- cmake-utils_src_configure
+ local mycmakeargs="${mycmakeargs} -DUSE_QT_WEBKIT=ON"
+ if use debug; then
+ mycmakeargs+=(
+ -DCMAKE_BUILD_TYPE=Debug
+ )
+ else
+ mycmakeargs+=(
+ -DCMAKE_BUILD_TYPE=Release
+ )
+ fi
+ cmake-utils_src_configure
}