summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/bibletime/bibletime-2.11_rc1.ebuild')
-rw-r--r--app-text/bibletime/bibletime-2.11_rc1.ebuild13
1 files changed, 12 insertions, 1 deletions
diff --git a/app-text/bibletime/bibletime-2.11_rc1.ebuild b/app-text/bibletime/bibletime-2.11_rc1.ebuild
index 24e4fd2..c3492e3 100644
--- a/app-text/bibletime/bibletime-2.11_rc1.ebuild
+++ b/app-text/bibletime/bibletime-2.11_rc1.ebuild
@@ -42,5 +42,16 @@ pkg_setup() {
}
src_configure() {
- cmake-utils_src_configure
+ local mycmakeargs=(
+ )
+ if use debug; then
+ mycmakeargs+=(
+ -DCMAKE_BUILD_TYPE=Debug
+ )
+ else
+ mycmakeargs+=(
+ -DCMAKE_BUILD_TYPE=Release
+ )
+ fi
+ cmake-utils_src_configure
}