From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5EEBC138334 for ; Tue, 19 Feb 2019 21:56:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5CB0AE07D0; Tue, 19 Feb 2019 21:56:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31A6CE07D0 for ; Tue, 19 Feb 2019 21:56:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5FB8335CF5 for ; Tue, 19 Feb 2019 21:56:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C3994520 for ; Tue, 19 Feb 2019 21:56:34 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1550613378.db0c635fbd9f7999131347f630d6b21d41a762d0.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sdcc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild dev-embedded/sdcc/sdcc-9999.ebuild X-VCS-Directories: dev-embedded/sdcc/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: db0c635fbd9f7999131347f630d6b21d41a762d0 X-VCS-Branch: master Date: Tue, 19 Feb 2019 21:56:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 76fedda2-8e0c-41fb-bf2a-91a9bc5c6c45 X-Archives-Hash: 7613107a267d802d46140103f5751981 commit: db0c635fbd9f7999131347f630d6b21d41a762d0 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Feb 19 21:56:18 2019 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Feb 19 21:56:18 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db0c635f 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 gentoo.org> dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild | 14 +++++++------- dev-embedded/sdcc/sdcc-9999.ebuild | 14 +++++++------- 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} ) "