summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-18 20:11:16 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-18 20:11:16 +0100
commit399b04c2032d01fde6093036d15046a2bc62e7d8 (patch)
treeaba8d6a74d3975ce52d428ae9b7901cf9d3d3caa
parentdev-util/fix-la-relink-command: Port to EAPI 7 (diff)
downloadgentoo-399b04c2032d01fde6093036d15046a2bc62e7d8.tar.gz
gentoo-399b04c2032d01fde6093036d15046a2bc62e7d8.tar.bz2
gentoo-399b04c2032d01fde6093036d15046a2bc62e7d8.zip
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@gentoo.org>
-rw-r--r--dev-util/bin_replace_string/bin_replace_string-0.2.ebuild19
1 files 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 d51ab7696095..39ed0c289e8d 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
}