diff options
| author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-02-19 21:56:18 +0000 |
|---|---|---|
| committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-02-19 21:56:18 +0000 |
| commit | db0c635fbd9f7999131347f630d6b21d41a762d0 (patch) | |
| tree | 823419efb75abaaffc84fbca2a7ece3ed003edb6 /dev-embedded/sdcc/sdcc-9999.ebuild | |
| parent | 09539eb735196c25f9871b2378bfc2c02428f6dd (diff) | |
| download | gentoo-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/sdcc/sdcc-9999.ebuild')
| -rw-r--r-- | dev-embedded/sdcc/sdcc-9999.ebuild | 14 |
1 files changed, 7 insertions, 7 deletions
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} ) " |
