diff options
author | Sam James <sam@gentoo.org> | 2021-06-20 23:13:59 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-06-20 23:13:59 +0200 |
commit | 989038aedac78fff507d54073b8250e4ae56446f (patch) | |
tree | 6ea5fbfe59cbd792f97aa61eefa282e66ebd8598 /eclass/gnustep-2.eclass | |
parent | gnustep-2.eclass: [QA] add EAPI guard (diff) | |
download | gentoo-989038aedac78fff507d54073b8250e4ae56446f.tar.gz gentoo-989038aedac78fff507d54073b8250e4ae56446f.tar.bz2 gentoo-989038aedac78fff507d54073b8250e4ae56446f.zip |
gnustep-2.eclass: [QA] treat gnustep-base/gnustep-make as a BDEPEND
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/gnustep-2.eclass')
-rw-r--r-- | eclass/gnustep-2.eclass | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/eclass/gnustep-2.eclass b/eclass/gnustep-2.eclass index fbfdb7e8934c..fc3d2d0fe3bd 100644 --- a/eclass/gnustep-2.eclass +++ b/eclass/gnustep-2.eclass @@ -20,8 +20,16 @@ _GNUSTEP_2_ECLASS=1 inherit gnustep-base -DEPEND=">=gnustep-base/gnustep-make-2.0 - virtual/gnustep-back" +case ${EAPI:-0} in + [56]) + DEPEND=">=gnustep-base/gnustep-make-2.0" + ;; + *) + BDEPEND=">=gnustep-base/gnustep-make-2.0" + ;; +esac + +DEPEND+=" virtual/gnustep-back" RDEPEND="${DEPEND}" # The following gnustep-based EXPORT_FUNCTIONS are available: |