commit:     9f513ee89c046aef6ca3c6f43ec999da0d2b4946
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 11 04:19:43 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 11 04:19:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f513ee8

www-apache/mod_fastcgi_handler: update EAPI 6 -> 7, fix apache workaround

Thanks-to: Thomas Deutschmann <whissi <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../mod_fastcgi_handler/mod_fastcgi_handler-0.6-r2.ebuild      | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/www-apache/mod_fastcgi_handler/mod_fastcgi_handler-0.6-r2.ebuild 
b/www-apache/mod_fastcgi_handler/mod_fastcgi_handler-0.6-r2.ebuild
index 140492bd277..fb9676278d0 100644
--- a/www-apache/mod_fastcgi_handler/mod_fastcgi_handler-0.6-r2.ebuild
+++ b/www-apache/mod_fastcgi_handler/mod_fastcgi_handler-0.6-r2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit apache-module
 
@@ -12,7 +12,6 @@ 
SRC_URI="https://github.com/hollow/mod_fastcgi_handler/archive/v${PV}.tar.gz ->
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 APACHE2_MOD_CONF="20_${PN}"
 APACHE2_MOD_DEFINE="FASTCGI_HANDLER"
@@ -21,10 +20,9 @@ APXS2_ARGS="-o ${PN}.so -c *.c"
 
 need_apache2
 
-src_install() {
+pkg_setup() {
        # bug #653606
        # but true cause seems to be bug #616612
-       APACHE_BASEDIR="/usr/$(get_libdir)/apache2"
-       APACHE_MODULESDIR="${APACHE_BASEDIR}/modules"
-       default
+       _init_apache2
+       _init_apache2_late
 }

Reply via email to