commit: 823bf5eab42bcd808742cf6eafed0e6841e4291e Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com> AuthorDate: Sat Jul 30 12:33:58 2016 +0000 Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org> CommitDate: Sat Jul 30 12:33:58 2016 +0000 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=823bf5ea
patch from https://marc.info/?l=gentoo-dev&m=146852788902799&w=2 eclass/depend.apache.eclass | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/eclass/depend.apache.eclass b/eclass/depend.apache.eclass index 22a8216..d0b30eb 100644 --- a/eclass/depend.apache.eclass +++ b/eclass/depend.apache.eclass @@ -162,6 +162,8 @@ depend.apache_pkg_setup() { else _init_no_apache fi + else + _init_apache2 fi } @@ -226,7 +228,9 @@ need_apache2() { DEPEND="${DEPEND} ${APACHE2_DEPEND}" RDEPEND="${RDEPEND} ${APACHE2_DEPEND}" - _init_apache2 + case "${EAPI:-0}" in + 0|1|2|3|4|5) _init_apache2 ;; + esac } # @FUNCTION: need_apache2_2 @@ -237,7 +241,9 @@ need_apache2_2() { DEPEND="${DEPEND} ${APACHE2_2_DEPEND}" RDEPEND="${RDEPEND} ${APACHE2_2_DEPEND}" - _init_apache2 + case "${EAPI:-0}" in + 0|1|2|3|4|5) _init_apache2 ;; + esac } # @FUNCTION: need_apache2_4 @@ -248,7 +254,9 @@ need_apache2_4() { DEPEND="${DEPEND} ${APACHE2_4_DEPEND}" RDEPEND="${RDEPEND} ${APACHE2_4_DEPEND}" - _init_apache2 + case "${EAPI:-0}" in + 0|1|2|3|4|5) _init_apache2 ;; + esac } # @FUNCTION: has_apache
