1 |
commit: 8c48e64ddb2b2a344e7302c255fc12a215d784c9 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 27 01:23:40 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 02:24:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c48e64d |
7 |
|
8 |
net-libs/libecap: port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-3.0.15, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
net-libs/libecap/libecap-1.0.0.ebuild | 18 +++++++++++++----- |
14 |
1 file changed, 13 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/net-libs/libecap/libecap-1.0.0.ebuild b/net-libs/libecap/libecap-1.0.0.ebuild |
17 |
index 9b5ee739941..224da59d982 100644 |
18 |
--- a/net-libs/libecap/libecap-1.0.0.ebuild |
19 |
+++ b/net-libs/libecap/libecap-1.0.0.ebuild |
20 |
@@ -1,18 +1,17 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI="5" |
26 |
+EAPI=7 |
27 |
|
28 |
-inherit autotools-utils eutils toolchain-funcs |
29 |
+inherit autotools toolchain-funcs |
30 |
|
31 |
DESCRIPTION="API for implementing ICAP content analysis and adaptation" |
32 |
-HOMEPAGE="http://www.e-cap.org/" |
33 |
+HOMEPAGE="https://www.e-cap.org/" |
34 |
SRC_URI="http://www.measurement-factory.com/tmp/ecap/${P}.tar.gz" |
35 |
|
36 |
LICENSE="BSD-2" |
37 |
SLOT="1" |
38 |
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" |
39 |
-IUSE="static-libs" |
40 |
|
41 |
RDEPEND="!net-libs/libecap:0 |
42 |
!net-libs/libecap:0.2" |
43 |
@@ -24,4 +23,13 @@ src_prepare() { |
44 |
|
45 |
# Respect AR. (bug #457734) |
46 |
tc-export AR |
47 |
+ |
48 |
+ mv configure.{in,ac} || die |
49 |
+ |
50 |
+ eautoreconf |
51 |
+} |
52 |
+ |
53 |
+src_configure() { |
54 |
+ # Horrific autotools failure in generated config.h w/o Bash |
55 |
+ CONFIG_SHELL="${EPREFIX}/bin/bash" econf |
56 |
} |