From: | David Seifert <soap@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: net-libs/libnfnetlink/ |
Date: | Sun, 09 Feb 2020 18:50:22 |
Message-Id: | 1581274170.c1380ebd1a7e6545a9c870ccbdb490719158d832.soap@gentoo |
1 | commit: c1380ebd1a7e6545a9c870ccbdb490719158d832 |
2 | Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 | AuthorDate: Sun Feb 9 18:49:30 2020 +0000 |
4 | Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 | CommitDate: Sun Feb 9 18:49:30 2020 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1380ebd |
7 | |
8 | net-libs/libnfnetlink: Port to EAPI 7 |
9 | |
10 | Package-Manager: Portage-2.3.88, Repoman-2.3.20 |
11 | Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 | |
13 | net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild | 29 ++++++++++++------------- |
14 | 1 file changed, 14 insertions(+), 15 deletions(-) |
15 | |
16 | diff --git a/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild b/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild |
17 | index 7f4eb46d560..26088b852aa 100644 |
18 | --- a/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild |
19 | +++ b/net-libs/libnfnetlink/libnfnetlink-1.0.1.ebuild |
20 | @@ -1,28 +1,25 @@ |
21 | -# Copyright 1999-2019 Gentoo Authors |
22 | +# Copyright 1999-2020 Gentoo Authors |
23 | # Distributed under the terms of the GNU General Public License v2 |
24 | |
25 | -EAPI=4 |
26 | -inherit linux-info eutils |
27 | +EAPI=7 |
28 | + |
29 | +inherit linux-info |
30 | |
31 | -DESCRIPTION="the low-level library for netfilter related kernel/userspace communication" |
32 | -HOMEPAGE="http://www.netfilter.org/projects/libnfnetlink/" |
33 | PATCH_BLOB=04aef8a4dedf267dd5744afb134ef8046e77f613 |
34 | PATCH_FN=${PATCH_BLOB}-musl-fix-includes.patch |
35 | -SRC_URI="http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2 |
36 | - https://git.alpinelinux.org/cgit/aports/plain/main/libnfnetlink/musl-fix-includes.patch -> ${PATCH_FN}" |
37 | + |
38 | +DESCRIPTION="the low-level library for netfilter related kernel/userspace communication" |
39 | +HOMEPAGE="http://www.netfilter.org/projects/libnfnetlink/" |
40 | +SRC_URI=" |
41 | + http://www.netfilter.org/projects/${PN}/files/${P}.tar.bz2 |
42 | + https://git.alpinelinux.org/cgit/aports/plain/main/libnfnetlink/musl-fix-includes.patch -> ${PATCH_FN}" |
43 | |
44 | LICENSE="GPL-2" |
45 | SLOT="0" |
46 | KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh sparc x86" |
47 | -IUSE="static-libs" |
48 | |
49 | -DOCS=( README ) |
50 | PATCHES=( "${DISTDIR}/${PATCH_FN}" ) |
51 | |
52 | -src_prepare() { |
53 | - epatch "${PATCHES[@]}" |
54 | -} |
55 | - |
56 | pkg_setup() { |
57 | linux-info_pkg_setup |
58 | |
59 | @@ -44,10 +41,12 @@ pkg_setup() { |
60 | } |
61 | |
62 | src_configure() { |
63 | - econf $(use_enable static-libs static) |
64 | + econf --disable-static |
65 | } |
66 | |
67 | src_install() { |
68 | default |
69 | - prune_libtool_files |
70 | + |
71 | + # no static archives |
72 | + find "${D}" -name '*.la' -delete || die |
73 | } |