Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/
Date: Tue, 19 Feb 2019 21:56:39
Message-Id: 1550613378.db0c635fbd9f7999131347f630d6b21d41a762d0.slyfox@gentoo
1 commit: db0c635fbd9f7999131347f630d6b21d41a762d0
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 19 21:56:18 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 19 21:56:18 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db0c635f
7
8 dev-embedded/sdcc: require sdbinutils for every port, bug #678354
9
10 Top-level Makefile unconditionally pulls in sdcc-binutils as a dependency.
11 If being opted out explicitly the build always fails as:
12 make -j5 -s
13 make[1]: *** No targets specified and no makefile found. Stop.
14 make: *** [Makefile:147: sdcc-sdbinutils] Error 2
15
16 Fix it by effectively requiring IUSE=sdbinutils for each port.
17
18 Reported-by: email200202 <AT> yahoo.com
19 Closes: https://bugs.gentoo.org/678354
20 Package-Manager: Portage-2.3.61, Repoman-2.3.12
21 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
22
23 dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild | 14 +++++++-------
24 dev-embedded/sdcc/sdcc-9999.ebuild | 14 +++++++-------
25 2 files changed, 14 insertions(+), 14 deletions(-)
26
27 diff --git a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
28 index 7e84d1c8b75..abba11e8b88 100644
29 --- a/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
30 +++ b/dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
31 @@ -30,15 +30,15 @@ SDCC_PORTS="
32 "
33 IUSE="
34 ${SDCC_PORTS}
35 - +boehm-gc device-lib doc non-free packihx sdbinutils sdcdb +sdcpp ucsim
36 + +boehm-gc device-lib doc non-free packihx +sdbinutils sdcdb +sdcpp ucsim
37 "
38
39 -REQUIRED_USE="
40 - ds390? ( sdbinutils )
41 - ds400? ( sdbinutils )
42 - hc08? ( sdbinutils )
43 - mcs51? ( sdbinutils )
44 - s08? ( sdbinutils )
45 +for port in ${SDCC_PORTS}; do
46 +REQUIRED_USE="${REQUIRED_USE}
47 + ${port}? ( sdbinutils )
48 +"
49 +done
50 +REQUIRED_USE="${REQUIRED_USE}
51 || ( ${SDCC_PORTS} )
52 "
53
54
55 diff --git a/dev-embedded/sdcc/sdcc-9999.ebuild b/dev-embedded/sdcc/sdcc-9999.ebuild
56 index 4a113587a4d..efab11532f4 100644
57 --- a/dev-embedded/sdcc/sdcc-9999.ebuild
58 +++ b/dev-embedded/sdcc/sdcc-9999.ebuild
59 @@ -30,15 +30,15 @@ SDCC_PORTS="
60 "
61 IUSE="
62 ${SDCC_PORTS}
63 - +boehm-gc device-lib doc non-free packihx sdbinutils sdcdb +sdcpp ucsim
64 + +boehm-gc device-lib doc non-free packihx +sdbinutils sdcdb +sdcpp ucsim
65 "
66
67 -REQUIRED_USE="
68 - ds390? ( sdbinutils )
69 - ds400? ( sdbinutils )
70 - hc08? ( sdbinutils )
71 - mcs51? ( sdbinutils )
72 - s08? ( sdbinutils )
73 +for port in ${SDCC_PORTS}; do
74 +REQUIRED_USE="${REQUIRED_USE}
75 + ${port}? ( sdbinutils )
76 +"
77 +done
78 +REQUIRED_USE="${REQUIRED_USE}
79 || ( ${SDCC_PORTS} )
80 "