commit:     2dede676d94cbf4b67b058fa624750c9c1343ce8
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 10 09:35:42 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Dec 10 09:35:42 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dede676

net-misc/kea: Added support for mysql and postgresql.

Thanks to James Browning <jamesb.fe80 <AT> gmail.com> for the initial patch

Bug: https://bugs.gentoo.org/663538
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-misc/kea/kea-9999.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/net-misc/kea/kea-9999.ebuild b/net-misc/kea/kea-9999.ebuild
index 6a29a56af22..9088c8b223f 100644
--- a/net-misc/kea/kea-9999.ebuild
+++ b/net-misc/kea/kea-9999.ebuild
@@ -8,6 +8,7 @@ inherit toolchain-funcs user
 MY_PV="${PV//_p/-P}"
 MY_PV="${MY_PV/_/-}"
 MY_P="${PN}-${MY_PV}"
+
 DESCRIPTION="High-performance production grade DHCPv4 & DHCPv6 server"
 HOMEPAGE="http://www.isc.org/kea/";
 if [[ ${PV} = 9999* ]] ; then
@@ -22,14 +23,16 @@ fi
 
 LICENSE="ISC BSD SSLeay GPL-2" # GPL-2 only for init script
 SLOT="0"
-IUSE="openssl samples"
+IUSE="mysql openssl postgres samples"
 
 DEPEND="
        dev-libs/boost:=
        dev-cpp/gtest
        dev-libs/log4cplus
+       mysql? ( virtual/mysql )
        !openssl? ( dev-libs/botan:0= )
        openssl? ( dev-libs/openssl:0= )
+       postgres? ( dev-db/postgresql:* )
 "
 RDEPEND="${DEPEND}"
 
@@ -46,7 +49,9 @@ src_prepare() {
 
 src_configure() {
        local myeconfargs=(
+               $(use_with mysql)
                $(use_with openssl)
+               $(use_with postgres pgsql)
                $(use_enable samples install-configurations)
                --disable-static
                --without-werror

Reply via email to