summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild14
-rw-r--r--dev-embedded/sdcc/sdcc-9999.ebuild14
2 files changed, 14 insertions, 14 deletions
diff --git a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
index 7e84d1c8b75a..abba11e8b886 100644
--- a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
+++ b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
@@ -30,15 +30,15 @@ SDCC_PORTS="
"
IUSE="
${SDCC_PORTS}
- +boehm-gc device-lib doc non-free packihx sdbinutils sdcdb +sdcpp ucsim
+ +boehm-gc device-lib doc non-free packihx +sdbinutils sdcdb +sdcpp ucsim
"
-REQUIRED_USE="
- ds390? ( sdbinutils )
- ds400? ( sdbinutils )
- hc08? ( sdbinutils )
- mcs51? ( sdbinutils )
- s08? ( sdbinutils )
+for port in ${SDCC_PORTS}; do
+REQUIRED_USE="${REQUIRED_USE}
+ ${port}? ( sdbinutils )
+"
+done
+REQUIRED_USE="${REQUIRED_USE}
|| ( ${SDCC_PORTS} )
"
diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
index 4a113587a4d5..efab11532f4c 100644
--- a/dev-embedded/sdcc/sdcc-9999.ebuild
+++ b/dev-embedded/sdcc/sdcc-9999.ebuild
@@ -30,15 +30,15 @@ SDCC_PORTS="
"
IUSE="
${SDCC_PORTS}
- +boehm-gc device-lib doc non-free packihx sdbinutils sdcdb +sdcpp ucsim
+ +boehm-gc device-lib doc non-free packihx +sdbinutils sdcdb +sdcpp ucsim
"
-REQUIRED_USE="
- ds390? ( sdbinutils )
- ds400? ( sdbinutils )
- hc08? ( sdbinutils )
- mcs51? ( sdbinutils )
- s08? ( sdbinutils )
+for port in ${SDCC_PORTS}; do
+REQUIRED_USE="${REQUIRED_USE}
+ ${port}? ( sdbinutils )
+"
+done
+REQUIRED_USE="${REQUIRED_USE}
|| ( ${SDCC_PORTS} )
"