1 |
commit: 796eebd2c1fe3c7ce99b67ec3c8abfa61b27ca2f |
2 |
Author: Azael Reyes <azael.devel <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Sep 8 03:12:54 2020 +0000 |
4 |
Commit: Azael Reyes <azael.devel <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Sep 8 03:12:54 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=796eebd2 |
7 |
|
8 |
app-misc/apidb: adding use for postgresq. |
9 |
|
10 |
Signed-off-by: Azael Reyes <azael.devel <AT> gmail.com> |
11 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
12 |
Signed-off-by: Azael Reyes <azael.devel <AT> gmail.com> |
13 |
|
14 |
app-misc/apidb/apidb-5.0.0_alpha.ebuild | 8 +++++++- |
15 |
1 file changed, 7 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/app-misc/apidb/apidb-5.0.0_alpha.ebuild b/app-misc/apidb/apidb-5.0.0_alpha.ebuild |
18 |
index 8c65f8d..c532b3c 100644 |
19 |
--- a/app-misc/apidb/apidb-5.0.0_alpha.ebuild |
20 |
+++ b/app-misc/apidb/apidb-5.0.0_alpha.ebuild |
21 |
@@ -45,6 +45,12 @@ src_prepare() { |
22 |
} |
23 |
|
24 |
src_configure() { |
25 |
- local mycmakeargs=(-DAPIDB_VERSION_STAGE=alpha -DAPIDB_MARIADB=Y -DPLATFORM=Gentoo -DCOMPONENT=FULL) |
26 |
+ local mycmakeargs=(-DAPIDB_VERSION_STAGE=alpha -DPLATFORM=Gentoo -DCOMPONENT=FULL) |
27 |
+ if use mariadb ;then |
28 |
+ mycmakeargs+=(-DAPIDB_MARIADB=Y) |
29 |
+ fi |
30 |
+ if use postgresql ;then |
31 |
+ mycmakeargs+=(-DAPIDB_POSTGRESQL=Y) |
32 |
+ fi |
33 |
cmake_src_configure |
34 |
} |