1 |
commit: 399b04c2032d01fde6093036d15046a2bc62e7d8 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 18 19:11:16 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 18 19:11:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=399b04c2 |
7 |
|
8 |
dev-util/bin_replace_string: Port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
.../bin_replace_string/bin_replace_string-0.2.ebuild | 19 ++++++------------- |
14 |
1 file changed, 6 insertions(+), 13 deletions(-) |
15 |
|
16 |
diff --git a/dev-util/bin_replace_string/bin_replace_string-0.2.ebuild b/dev-util/bin_replace_string/bin_replace_string-0.2.ebuild |
17 |
index d51ab769609..39ed0c289e8 100644 |
18 |
--- a/dev-util/bin_replace_string/bin_replace_string-0.2.ebuild |
19 |
+++ b/dev-util/bin_replace_string/bin_replace_string-0.2.ebuild |
20 |
@@ -1,27 +1,20 @@ |
21 |
-# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Copyright 1999-2020 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=4 |
26 |
- |
27 |
-inherit autotools-utils |
28 |
+EAPI=7 |
29 |
|
30 |
DESCRIPTION="A tool to edit C strings in compiled binaries" |
31 |
HOMEPAGE="http://ohnopub.net/~ohnobinki/bin_replace_string" |
32 |
SRC_URI="ftp://mirror.ohnopub.net/mirror/${P}.tar.bz2" |
33 |
-LICENSE="AGPL-3" |
34 |
|
35 |
+LICENSE="AGPL-3" |
36 |
SLOT="0" |
37 |
KEYWORDS="~amd64 ~x86 ~amd64-linux" |
38 |
-IUSE="doc" |
39 |
|
40 |
RDEPEND="virtual/libelf:0" |
41 |
-DEPEND="doc? ( app-text/txt2man ) |
42 |
- ${RDEPEND}" |
43 |
+DEPEND="${RDEPEND}" |
44 |
+BDEPEND="app-text/txt2man" |
45 |
|
46 |
src_configure() { |
47 |
- local myeconfargs=( |
48 |
- $(use_enable doc) |
49 |
- ) |
50 |
- |
51 |
- autotools-utils_src_configure |
52 |
+ econf --enable-doc |
53 |
} |