From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1204104-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 3057813835A
	for <garchives@archives.gentoo.org>; Tue,  8 Sep 2020 10:30:38 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7C12FE0855;
	Tue,  8 Sep 2020 10:30:37 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 6127BE083D
	for <gentoo-commits@lists.gentoo.org>; Tue,  8 Sep 2020 10:30:37 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id E093A340DBD
	for <gentoo-commits@lists.gentoo.org>; Tue,  8 Sep 2020 10:30:34 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 762BF360
	for <gentoo-commits@lists.gentoo.org>; Tue,  8 Sep 2020 10:30:30 +0000 (UTC)
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
Message-ID: <1599534774.796eebd2c1fe3c7ce99b67ec3c8abfa61b27ca2f.andrewammerlaan@gentoo>
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/apidb/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: app-misc/apidb/apidb-5.0.0_alpha.ebuild
X-VCS-Directories: app-misc/apidb/
X-VCS-Committer: andrewammerlaan
X-VCS-Committer-Name: Andrew Ammerlaan
X-VCS-Revision: 796eebd2c1fe3c7ce99b67ec3c8abfa61b27ca2f
X-VCS-Branch: master
Date: Tue,  8 Sep 2020 10:30:30 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 092831fb-dc99-44ff-9014-31ebc4f145a0
X-Archives-Hash: 7e394f1d1a2007a26dc4b06b06371a87

commit:     796eebd2c1fe3c7ce99b67ec3c8abfa61b27ca2f
Author:     Azael Reyes <azael.devel <AT> gmail <DOT> com>
AuthorDate: Tue Sep  8 03:12:54 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Sep  8 03:12:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=796eebd2

app-misc/apidb: adding use for postgresq.

Signed-off-by: Azael Reyes <azael.devel <AT> gmail.com>
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Azael Reyes <azael.devel <AT> gmail.com>

 app-misc/apidb/apidb-5.0.0_alpha.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/app-misc/apidb/apidb-5.0.0_alpha.ebuild b/app-misc/apidb/apidb-5.0.0_alpha.ebuild
index 8c65f8d7..c532b3c7 100644
--- a/app-misc/apidb/apidb-5.0.0_alpha.ebuild
+++ b/app-misc/apidb/apidb-5.0.0_alpha.ebuild
@@ -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
 }