projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b5ecd1
)
systemd.eclass: set BDEPEND for EAPI 7
author
Mike Gilbert
<floppym@gentoo.org>
Mon, 6 Aug 2018 18:07:32 +0000
(14:07 -0400)
committer
Mike Gilbert
<floppym@gentoo.org>
Thu, 9 Aug 2018 17:44:35 +0000
(13:44 -0400)
eclass/systemd.eclass
patch
|
blob
|
history
diff --git
a/eclass/systemd.eclass
b/eclass/systemd.eclass
index 72f4845efc4595d11da0fe90508f99ba1bde73ea..a870624014b195e7e5b03f13f7b2562d63c6675f 100644
(file)
--- 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>