From f25832515153dcad71b42a635a27590f339846ee Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Sat, 27 Jun 2020 00:51:08 +0200 Subject: www-apache/mod_qos: migrate EAPI to EAPI=6 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann --- www-apache/mod_qos/mod_qos-11.65.ebuild | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'www-apache/mod_qos') diff --git a/www-apache/mod_qos/mod_qos-11.65.ebuild b/www-apache/mod_qos/mod_qos-11.65.ebuild index b98be2bbb585..765632d044a6 100644 --- a/www-apache/mod_qos/mod_qos-11.65.ebuild +++ b/www-apache/mod_qos/mod_qos-11.65.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 inherit autotools apache-module DESCRIPTION="A QOS module for the apache webserver" @@ -29,26 +29,33 @@ DOCFILES="${S}/doc/*.txt ${S}/README.TXT" need_apache2 src_prepare() { - cd "${S}/tools" && eautoreconf + default + + pushd "${S}"/tools &>/dev/null || die + eautoreconf + popd &>/dev/null || die } src_configure() { - cd "${S}/tools" && econf + pushd "${S}"/tools &>/dev/null || die + econf + popd &>/dev/null || die } src_compile() { apache-module_src_compile - emake -C "${S}/tools" + emake -C "${S}"/tools } src_install() { einfo "Installing Apache module ..." - cd "${S}/tools" + pushd "${S}"/tools &>/dev/null || die apache-module_src_install + popd &>/dev/null || die einfo "Installing module utilities ..." - emake -C "${S}/tools" install DESTDIR="${D}" + emake -C "${S}"/tools install DESTDIR="${D}" # installing html documentation - dohtml -r -x *.txt "${S}/doc/" + dohtml -r -x *.txt "${S}"/doc/ } -- cgit v1.2.3-65-gdbad