summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-02-19 21:56:18 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-02-19 21:56:18 +0000
commitdb0c635fbd9f7999131347f630d6b21d41a762d0 (patch)
tree823419efb75abaaffc84fbca2a7ece3ed003edb6 /dev-embedded
parentsys-libs/libosinfo: bump to 1.3.0 (diff)
downloadgentoo-db0c635fbd9f7999131347f630d6b21d41a762d0.tar.gz
gentoo-db0c635fbd9f7999131347f630d6b21d41a762d0.tar.bz2
gentoo-db0c635fbd9f7999131347f630d6b21d41a762d0.zip
dev-embedded/sdcc: require sdbinutils for every port, bug #678354
Top-level Makefile unconditionally pulls in sdcc-binutils as a dependency. If being opted out explicitly the build always fails as: make -j5 -s make[1]: *** No targets specified and no makefile found. Stop. make: *** [Makefile:147: sdcc-sdbinutils] Error 2 Fix it by effectively requiring IUSE=sdbinutils for each port. Reported-by: email200202@yahoo.com Closes: https://bugs.gentoo.org/678354 Package-Manager: Portage-2.3.61, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
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 7e84d1c8b75..abba11e8b88 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 4a113587a4d..efab11532f4 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} )
"