Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apache/mod_qos/
Date: Fri, 26 Jun 2020 23:00:41
Message-Id: 1593212383.f25832515153dcad71b42a635a27590f339846ee.whissi@gentoo
1 commit: f25832515153dcad71b42a635a27590f339846ee
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 26 22:51:08 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 26 22:59:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2583251
7
8 www-apache/mod_qos: migrate EAPI to EAPI=6
9
10 Package-Manager: Portage-2.3.101, Repoman-2.3.22
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 www-apache/mod_qos/mod_qos-11.65.ebuild | 21 ++++++++++++++-------
14 1 file changed, 14 insertions(+), 7 deletions(-)
15
16 diff --git a/www-apache/mod_qos/mod_qos-11.65.ebuild b/www-apache/mod_qos/mod_qos-11.65.ebuild
17 index b98be2bbb58..765632d044a 100644
18 --- a/www-apache/mod_qos/mod_qos-11.65.ebuild
19 +++ b/www-apache/mod_qos/mod_qos-11.65.ebuild
20 @@ -1,7 +1,7 @@
21 # Copyright 1999-2020 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 +EAPI=6
26 inherit autotools apache-module
27
28 DESCRIPTION="A QOS module for the apache webserver"
29 @@ -29,26 +29,33 @@ DOCFILES="${S}/doc/*.txt ${S}/README.TXT"
30 need_apache2
31
32 src_prepare() {
33 - cd "${S}/tools" && eautoreconf
34 + default
35 +
36 + pushd "${S}"/tools &>/dev/null || die
37 + eautoreconf
38 + popd &>/dev/null || die
39 }
40
41 src_configure() {
42 - cd "${S}/tools" && econf
43 + pushd "${S}"/tools &>/dev/null || die
44 + econf
45 + popd &>/dev/null || die
46 }
47
48 src_compile() {
49 apache-module_src_compile
50 - emake -C "${S}/tools"
51 + emake -C "${S}"/tools
52 }
53
54 src_install() {
55 einfo "Installing Apache module ..."
56 - cd "${S}/tools"
57 + pushd "${S}"/tools &>/dev/null || die
58 apache-module_src_install
59 + popd &>/dev/null || die
60
61 einfo "Installing module utilities ..."
62 - emake -C "${S}/tools" install DESTDIR="${D}"
63 + emake -C "${S}"/tools install DESTDIR="${D}"
64
65 # installing html documentation
66 - dohtml -r -x *.txt "${S}/doc/"
67 + dohtml -r -x *.txt "${S}"/doc/
68 }