commit:     399b04c2032d01fde6093036d15046a2bc62e7d8
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 18 19:11:16 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Feb 18 19:11:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=399b04c2

dev-util/bin_replace_string: Port to EAPI 7

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../bin_replace_string/bin_replace_string-0.2.ebuild  | 19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)

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
index d51ab769609..39ed0c289e8 100644
--- a/dev-util/bin_replace_string/bin_replace_string-0.2.ebuild
+++ b/dev-util/bin_replace_string/bin_replace_string-0.2.ebuild
@@ -1,27 +1,20 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
-
-inherit autotools-utils
+EAPI=7
 
 DESCRIPTION="A tool to edit C strings in compiled binaries"
 HOMEPAGE="http://ohnopub.net/~ohnobinki/bin_replace_string";
 SRC_URI="ftp://mirror.ohnopub.net/mirror/${P}.tar.bz2";
-LICENSE="AGPL-3"
 
+LICENSE="AGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86 ~amd64-linux"
-IUSE="doc"
 
 RDEPEND="virtual/libelf:0"
-DEPEND="doc? ( app-text/txt2man )
-       ${RDEPEND}"
+DEPEND="${RDEPEND}"
+BDEPEND="app-text/txt2man"
 
 src_configure() {
-       local myeconfargs=(
-               $(use_enable doc)
-       )
-
-       autotools-utils_src_configure
+       econf --enable-doc
 }

Reply via email to