summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-09-25 22:56:49 +0000
committerSam James <sam@gentoo.org>2020-09-25 22:57:24 +0000
commitce8003ed6fe3fcd54842b2a73e5da6225a274691 (patch)
treec0971bdc713cff9d4225d9326a43359d5fdc006e /www-apache/mod_xsendfile
parentdev-python/grpcio-testing: bump to 1.32.0 (diff)
downloadgentoo-ce8003ed6fe3fcd54842b2a73e5da6225a274691.tar.gz
gentoo-ce8003ed6fe3fcd54842b2a73e5da6225a274691.tar.bz2
gentoo-ce8003ed6fe3fcd54842b2a73e5da6225a274691.zip
www-apache/mod_xsendfile: simplify
Bug: https://bugs.gentoo.org/515414 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'www-apache/mod_xsendfile')
-rw-r--r--www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r1.ebuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r1.ebuild b/www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r1.ebuild
index f8147aa6a2ba..c111aad8c8e2 100644
--- a/www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r1.ebuild
+++ b/www-apache/mod_xsendfile/mod_xsendfile-1.0_beta1-r1.ebuild
@@ -15,13 +15,16 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~sparc ~x86 ~amd64-linux"
-APACHE2_MOD_CONF="50_${PN}"
-APACHE2_MOD_DEFINE="XSENDFILE"
-DOCFILES="docs/Readme.html"
-
need_apache2
-pkg_setup() {
- _init_apache2
- _init_apache2_late
+src_install() {
+ APACHE2_MOD_CONF="50_${PN}"
+ APACHE2_MOD_DEFINE="XSENDFILE"
+ # Triggers unfortunate QA warning in the eclass
+ # See bug #515414, seems to be an apache-module.eclasss issue
+ DOCFILES="docs/Readme.html"
+
+ APACHE_MODULESDIR="/usr/$(get_libdir)/apache2/modules"
+
+ apache-module_src_install
}