diff options
author | Mike Gilbert <floppym@gentoo.org> | 2018-08-06 14:07:32 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2018-08-09 13:44:35 -0400 |
commit | 41f7e82d4ddb7f9541000db01276bbcd0b783270 (patch) | |
tree | a258ab8d6f3254fa5b0aa1be3776c5d1148fd80b /eclass/systemd.eclass | |
parent | x11-drivers/xf86-video-r128: Drop unnecessary patch (diff) | |
download | gentoo-41f7e82d4ddb7f9541000db01276bbcd0b783270.tar.gz gentoo-41f7e82d4ddb7f9541000db01276bbcd0b783270.tar.bz2 gentoo-41f7e82d4ddb7f9541000db01276bbcd0b783270.zip |
systemd.eclass: set BDEPEND for EAPI 7
Diffstat (limited to 'eclass/systemd.eclass')
-rw-r--r-- | eclass/systemd.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
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: <variable-name> <fallback-directory> |