Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/dbench/
Date: Tue, 20 Apr 2021 01:21:12
Message-Id: 1618881631.4d316ed6230c2edca38608976faf967c21379469.sam@gentoo
1 commit: 4d316ed6230c2edca38608976faf967c21379469
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 20 00:39:20 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 20 01:20:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d316ed6
7
8 app-benchmarks/dbench: port to EAPI 7
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 app-benchmarks/dbench/dbench-4.0.ebuild | 18 +++++++++---------
13 1 file changed, 9 insertions(+), 9 deletions(-)
14
15 diff --git a/app-benchmarks/dbench/dbench-4.0.ebuild b/app-benchmarks/dbench/dbench-4.0.ebuild
16 index ca159a52f2a..1e2cda61523 100644
17 --- a/app-benchmarks/dbench/dbench-4.0.ebuild
18 +++ b/app-benchmarks/dbench/dbench-4.0.ebuild
19 @@ -1,27 +1,27 @@
20 # Copyright 1999-2021 Gentoo Authors
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=5
24 +EAPI=7
25
26 inherit autotools toolchain-funcs
27
28 DESCRIPTION="Popular filesystem benchmark"
29 SRC_URI="https://www.samba.org/ftp/pub/tridge/dbench/${P}.tar.gz"
30 HOMEPAGE="https://www.samba.org/ftp/tridge/dbench/"
31 -SLOT="0"
32 +
33 LICENSE="GPL-2"
34 +SLOT="0"
35 KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 sparc x86"
36 -IUSE=""
37
38 DEPEND="dev-libs/popt"
39 RDEPEND="${DEPEND}"
40
41 src_prepare() {
42 - eautoheader
43 - eautoconf
44 - sed -i -e \
45 - "s:\$(CC) -o:\$(CC) \$(LDFLAGS) -o:" \
46 - Makefile.in || die
47 + default
48 +
49 + sed -i -e "s:\$(CC) -o:\$(CC) \$(LDFLAGS) -o:" Makefile.in || die
50 + mv configure.{in,ac} || die
51 +
52 eautoreconf
53 }
54
55 @@ -38,5 +38,5 @@ src_install() {
56 }
57
58 pkg_postinst() {
59 - elog "You can find the client.txt file in ${ROOT}usr/share/dbench."
60 + elog "You can find the client.txt file in ${EROOT}/usr/share/dbench."
61 }