summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/gnustep-2.eclass12
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: