diff options
author | ArsenShnurkov <Arsen.Shnurkov@gmail.com> | 2016-07-30 15:33:58 +0300 |
---|---|---|
committer | ArsenShnurkov <Arsen.Shnurkov@gmail.com> | 2016-07-30 15:33:58 +0300 |
commit | 823bf5eab42bcd808742cf6eafed0e6841e4291e (patch) | |
tree | 70ab5818939837ad268297d122eaed8d9c79b2a3 | |
parent | initial version (diff) | |
download | dotnet-823bf5eab42bcd808742cf6eafed0e6841e4291e.tar.gz dotnet-823bf5eab42bcd808742cf6eafed0e6841e4291e.tar.bz2 dotnet-823bf5eab42bcd808742cf6eafed0e6841e4291e.zip |
patch from https://marc.info/?l=gentoo-dev&m=146852788902799&w=2
-rw-r--r-- | eclass/depend.apache.eclass | 14 |
1 files 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 |