app-misc/apidb: fixing uses.

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-26 15:18:34 -07:00
parent 74010022e0
commit fab1bee14e

View File

@@ -21,7 +21,7 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="mariadb postgresql commands gui corelibs"
IUSE="+mariadb postgresql commands gtk +corelibs"
DEPEND=""
RDEPEND="${DEPEND}"
@@ -30,7 +30,7 @@ BDEPEND="
dev-libs/boost
sys-devel/bison
sys-devel/flex
gui? ( x11-libs/gtk+ )
gtk? ( x11-libs/gtk+ )
dev-libs/libtar
mariadb? ( dev-libs/octetos-db-maria )
postgresql? ( dev-libs/octetos-db-postgresql )
@@ -65,7 +65,7 @@ src_configure() {
if use commands ;then
APIDBINSTALL="$APIDBINSTALL;COMMANDS"
fi
if use gui ;then
if use gtk ;then
APIDBINSTALL="$APIDBINSTALL;GTK3"
fi
local mycmakeargs=(-DAPIDB_VERSION_STAGE=alpha -DPLATFORM=LINUX_GENTOO -DAPIDBBUILD=$APIDBBUILD -DAPIDBINSTALL=$APIDBINSTALL)