summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-08-29 14:48:48 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-08-29 14:49:56 +0200
commit771690c75630707e3723c48b11515bdd19e4c0dc (patch)
tree5b527b590d6def80f114f04147f1776ca743fb47 /net-misc/kea
parentnet-misc/kea: Bump to version 1.6.0 (diff)
downloadgentoo-771690c75630707e3723c48b11515bdd19e4c0dc.tar.gz
gentoo-771690c75630707e3723c48b11515bdd19e4c0dc.tar.bz2
gentoo-771690c75630707e3723c48b11515bdd19e4c0dc.zip
net-misc/kea: Synced live ebuild
Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-misc/kea')
-rw-r--r--net-misc/kea/kea-9999.ebuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/net-misc/kea/kea-9999.ebuild b/net-misc/kea/kea-9999.ebuild
index 75288a0c58a2..2d0234c2da44 100644
--- a/net-misc/kea/kea-9999.ebuild
+++ b/net-misc/kea/kea-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit toolchain-funcs user
@@ -35,6 +35,7 @@ DEPEND="
postgres? ( dev-db/postgresql:* )
"
RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
@@ -49,12 +50,14 @@ src_prepare() {
src_configure() {
local myeconfargs=(
+ --disable-static
+ --enable-perfdhcp
+ --localstatedir="${EPREFIX}/var"
+ --without-werror
$(use_with mysql)
$(use_with openssl)
$(use_with postgres pgsql)
$(use_enable samples install-configurations)
- --disable-static
- --without-werror
)
econf "${myeconfargs[@]}"
}
@@ -63,7 +66,8 @@ src_install() {
default
newconfd "${FILESDIR}"/${PN}-confd ${PN}
newinitd "${FILESDIR}"/${PN}-initd ${PN}
- find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+ keepdir /var/{lib,run}/${PN} /var/log
+ find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
}
pkg_preinst() {