commit:     ad49fd833d609fe1a93dd7b47df70a88dddd03d4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 10 04:21:11 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 10 04:21:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad49fd83

www-apache/mod_fastcgi_handler: workaround depend.apache eclass issues

Bug: https://bugs.gentoo.org/616612
Closes: https://bugs.gentoo.org/653606
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...handler-0.6-r1.ebuild => mod_fastcgi_handler-0.6-r2.ebuild} | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/www-apache/mod_fastcgi_handler/mod_fastcgi_handler-0.6-r1.ebuild 
b/www-apache/mod_fastcgi_handler/mod_fastcgi_handler-0.6-r2.ebuild
similarity index 68%
rename from www-apache/mod_fastcgi_handler/mod_fastcgi_handler-0.6-r1.ebuild
rename to www-apache/mod_fastcgi_handler/mod_fastcgi_handler-0.6-r2.ebuild
index 83ca086002c..140492bd277 100644
--- a/www-apache/mod_fastcgi_handler/mod_fastcgi_handler-0.6-r1.ebuild
+++ b/www-apache/mod_fastcgi_handler/mod_fastcgi_handler-0.6-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -20,3 +20,11 @@ APACHE2_MOD_DEFINE="FASTCGI_HANDLER"
 APXS2_ARGS="-o ${PN}.so -c *.c"
 
 need_apache2
+
+src_install() {
+       # bug #653606
+       # but true cause seems to be bug #616612
+       APACHE_BASEDIR="/usr/$(get_libdir)/apache2"
+       APACHE_MODULESDIR="${APACHE_BASEDIR}/modules"
+       default
+}

Reply via email to