aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorArsenShnurkov <Arsen.Shnurkov@gmail.com>2016-07-30 15:33:58 +0300
committerArsenShnurkov <Arsen.Shnurkov@gmail.com>2016-07-30 15:33:58 +0300
commit823bf5eab42bcd808742cf6eafed0e6841e4291e (patch)
tree70ab5818939837ad268297d122eaed8d9c79b2a3 /eclass
parentinitial version (diff)
downloaddotnet-823bf5eab42bcd808742cf6eafed0e6841e4291e.tar.gz
dotnet-823bf5eab42bcd808742cf6eafed0e6841e4291e.tar.bz2
dotnet-823bf5eab42bcd808742cf6eafed0e6841e4291e.zip
patch from https://marc.info/?l=gentoo-dev&m=146852788902799&w=2
Diffstat (limited to 'eclass')
-rw-r--r--eclass/depend.apache.eclass14
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