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:
Azael Reyes
2020-09-07 20:12:54 -07:00
parent 3e3b5c8f55
commit 796eebd2c1

View File

@@ -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
}