1 |
commit: 771690c75630707e3723c48b11515bdd19e4c0dc |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 29 12:48:48 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 29 12:49:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=771690c7 |
7 |
|
8 |
net-misc/kea: Synced live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.73, Repoman-2.3.17 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
net-misc/kea/kea-9999.ebuild | 14 +++++++++----- |
14 |
1 file changed, 9 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/kea/kea-9999.ebuild b/net-misc/kea/kea-9999.ebuild |
17 |
index 75288a0c58a..2d0234c2da4 100644 |
18 |
--- a/net-misc/kea/kea-9999.ebuild |
19 |
+++ b/net-misc/kea/kea-9999.ebuild |
20 |
@@ -1,7 +1,7 @@ |
21 |
-# Copyright 1999-2018 Gentoo Authors |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=6 |
26 |
+EAPI=7 |
27 |
|
28 |
inherit toolchain-funcs user |
29 |
|
30 |
@@ -35,6 +35,7 @@ DEPEND=" |
31 |
postgres? ( dev-db/postgresql:* ) |
32 |
" |
33 |
RDEPEND="${DEPEND}" |
34 |
+BDEPEND="virtual/pkgconfig" |
35 |
|
36 |
S="${WORKDIR}/${MY_P}" |
37 |
|
38 |
@@ -49,12 +50,14 @@ src_prepare() { |
39 |
|
40 |
src_configure() { |
41 |
local myeconfargs=( |
42 |
+ --disable-static |
43 |
+ --enable-perfdhcp |
44 |
+ --localstatedir="${EPREFIX}/var" |
45 |
+ --without-werror |
46 |
$(use_with mysql) |
47 |
$(use_with openssl) |
48 |
$(use_with postgres pgsql) |
49 |
$(use_enable samples install-configurations) |
50 |
- --disable-static |
51 |
- --without-werror |
52 |
) |
53 |
econf "${myeconfargs[@]}" |
54 |
} |
55 |
@@ -63,7 +66,8 @@ src_install() { |
56 |
default |
57 |
newconfd "${FILESDIR}"/${PN}-confd ${PN} |
58 |
newinitd "${FILESDIR}"/${PN}-initd ${PN} |
59 |
- find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die |
60 |
+ keepdir /var/{lib,run}/${PN} /var/log |
61 |
+ find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die |
62 |
} |
63 |
|
64 |
pkg_preinst() { |