1 |
commit: fbc27b52508507e3f5a88f40daa66974cbe16cbb |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 30 19:17:17 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 1 21:55:07 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbc27b52 |
7 |
|
8 |
net-dialup/linux-atm: Port to EAPI 8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/819357 |
11 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/22767 |
13 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
14 |
|
15 |
...-atm-2.5.2.ebuild => linux-atm-2.5.2-r1.ebuild} | 23 +++++++++++----------- |
16 |
1 file changed, 11 insertions(+), 12 deletions(-) |
17 |
|
18 |
diff --git a/net-dialup/linux-atm/linux-atm-2.5.2.ebuild b/net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild |
19 |
similarity index 68% |
20 |
rename from net-dialup/linux-atm/linux-atm-2.5.2.ebuild |
21 |
rename to net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild |
22 |
index 4197658ac86..4c27be10493 100644 |
23 |
--- a/net-dialup/linux-atm/linux-atm-2.5.2.ebuild |
24 |
+++ b/net-dialup/linux-atm/linux-atm-2.5.2-r1.ebuild |
25 |
@@ -1,9 +1,9 @@ |
26 |
# Copyright 1999-2021 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
-EAPI=5 |
30 |
+EAPI=8 |
31 |
|
32 |
-inherit epatch flag-o-matic libtool linux-info |
33 |
+inherit autotools flag-o-matic linux-info |
34 |
|
35 |
DESCRIPTION="Tools for ATM" |
36 |
HOMEPAGE="http://linux-atm.sourceforge.net/" |
37 |
@@ -12,31 +12,30 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
38 |
LICENSE="GPL-2" |
39 |
SLOT="0" |
40 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
41 |
-IUSE="static-libs" |
42 |
|
43 |
-RDEPEND="" |
44 |
-DEPEND="virtual/yacc" |
45 |
+BDEPEND="virtual/yacc" |
46 |
|
47 |
RESTRICT="test" |
48 |
|
49 |
-DOCS=( AUTHORS BUGS ChangeLog NEWS README THANKS ) |
50 |
- |
51 |
CONFIG_CHECK="~ATM" |
52 |
|
53 |
+PATCHES=( |
54 |
+ "${FILESDIR}"/${P}-headers.patch |
55 |
+ "${FILESDIR}"/${P}-linux-5.2-SIOCGSTAMP.patch |
56 |
+) |
57 |
+ |
58 |
src_prepare() { |
59 |
- epatch "${FILESDIR}"/${P}-headers.patch |
60 |
- epatch "${FILESDIR}"/${P}-linux-5.2-SIOCGSTAMP.patch |
61 |
+ default |
62 |
|
63 |
sed -i '/#define _LINUX_NETDEVICE_H/d' \ |
64 |
src/arpd/*.c || die "sed command on arpd/*.c files failed" |
65 |
|
66 |
- elibtoolize |
67 |
+ eautoreconf |
68 |
} |
69 |
|
70 |
src_configure() { |
71 |
append-flags -fno-strict-aliasing |
72 |
- |
73 |
- econf $(use_enable static-libs static) |
74 |
+ econf |
75 |
} |
76 |
|
77 |
src_install() { |