diff options
author | Jaak Ristioja <jaak@ristioja.ee> | 2016-10-04 10:44:26 +0300 |
---|---|---|
committer | Jaak Ristioja <jaak@ristioja.ee> | 2016-10-04 10:44:26 +0300 |
commit | b7b43632072f327d361f4a5a676ac58c4891f7b8 (patch) | |
tree | 7a47c51494e62ee67825f61f75d133b0d9748c74 /app-text/bibletime/bibletime-2.11_rc1.ebuild | |
parent | Added .mailmap file. (diff) | |
download | bibletime-b7b43632072f327d361f4a5a676ac58c4891f7b8.tar.gz bibletime-b7b43632072f327d361f4a5a676ac58c4891f7b8.tar.bz2 bibletime-b7b43632072f327d361f4a5a676ac58c4891f7b8.zip |
For >=bibletime-2.10 fixed USE=debug not working.
Diffstat (limited to 'app-text/bibletime/bibletime-2.11_rc1.ebuild')
-rw-r--r-- | app-text/bibletime/bibletime-2.11_rc1.ebuild | 13 |
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 } |