From: Mike Gilbert Date: Mon, 6 Aug 2018 18:07:32 +0000 (-0400) Subject: systemd.eclass: set BDEPEND for EAPI 7 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=41f7e82d4ddb7f9541000db01276bbcd0b783270;p=gentoo.git systemd.eclass: set BDEPEND for EAPI 7 --- diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass index 72f4845efc45..a870624014b1 100644 --- a/eclass/systemd.eclass +++ b/eclass/systemd.eclass @@ -26,11 +26,15 @@ inherit toolchain-funcs case ${EAPI:-0} in - 0|1|2|3|4|5|6) ;; + 0|1|2|3|4|5|6|7) ;; *) die "${ECLASS}.eclass API in EAPI ${EAPI} not yet established." esac -DEPEND="virtual/pkgconfig" +if [[ ${EAPI:-0} == [0123456] ]]; then + DEPEND="virtual/pkgconfig" +else + BDEPEND="virtual/pkgconfig" +fi # @FUNCTION: _systemd_get_dir # @USAGE: