mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
app-misc/apidb: adding use for postgresq.
Signed-off-by: Azael Reyes <azael.devel@gmail.com> Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Azael Reyes <azael.devel@gmail.com>
This commit is contained in:
@@ -45,6 +45,12 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(-DAPIDB_VERSION_STAGE=alpha -DAPIDB_MARIADB=Y -DPLATFORM=Gentoo -DCOMPONENT=FULL)
|
||||
local mycmakeargs=(-DAPIDB_VERSION_STAGE=alpha -DPLATFORM=Gentoo -DCOMPONENT=FULL)
|
||||
if use mariadb ;then
|
||||
mycmakeargs+=(-DAPIDB_MARIADB=Y)
|
||||
fi
|
||||
if use postgresql ;then
|
||||
mycmakeargs+=(-DAPIDB_POSTGRESQL=Y)
|
||||
fi
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user