commit: 4d316ed6230c2edca38608976faf967c21379469 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Apr 20 00:39:20 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Apr 20 01:20:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d316ed6
app-benchmarks/dbench: port to EAPI 7 Signed-off-by: Sam James <sam <AT> gentoo.org> app-benchmarks/dbench/dbench-4.0.ebuild | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app-benchmarks/dbench/dbench-4.0.ebuild b/app-benchmarks/dbench/dbench-4.0.ebuild index ca159a52f2a..1e2cda61523 100644 --- a/app-benchmarks/dbench/dbench-4.0.ebuild +++ b/app-benchmarks/dbench/dbench-4.0.ebuild @@ -1,27 +1,27 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 inherit autotools toolchain-funcs DESCRIPTION="Popular filesystem benchmark" SRC_URI="https://www.samba.org/ftp/pub/tridge/dbench/${P}.tar.gz" HOMEPAGE="https://www.samba.org/ftp/tridge/dbench/" -SLOT="0" + LICENSE="GPL-2" +SLOT="0" KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc x86" -IUSE="" DEPEND="dev-libs/popt" RDEPEND="${DEPEND}" src_prepare() { - eautoheader - eautoconf - sed -i -e \ - "s:\$(CC) -o:\$(CC) \$(LDFLAGS) -o:" \ - Makefile.in || die + default + + sed -i -e "s:\$(CC) -o:\$(CC) \$(LDFLAGS) -o:" Makefile.in || die + mv configure.{in,ac} || die + eautoreconf } @@ -38,5 +38,5 @@ src_install() { } pkg_postinst() { - elog "You can find the client.txt file in ${ROOT}usr/share/dbench." + elog "You can find the client.txt file in ${EROOT}/usr/share/dbench." }