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 131451382C5 for ; Fri, 19 Jun 2020 07:09:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30980E088A; Fri, 19 Jun 2020 07:09:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 0992FE088A for ; Fri, 19 Jun 2020 07:09:23 +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 F1E9E34F3D5 for ; Fri, 19 Jun 2020 07:09:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3596C21D for ; Fri, 19 Jun 2020 07:09:19 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1592550487.dd56c723b9354a3e9f0faec2dc8ae95552a87372.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: scripts/bootstrap-prefix.sh X-VCS-Directories: scripts/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: dd56c723b9354a3e9f0faec2dc8ae95552a87372 X-VCS-Branch: master Date: Fri, 19 Jun 2020 07:09:19 +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: df8f8eb1-0bcb-41a6-a3b9-7cfc88e2f673 X-Archives-Hash: 7484b223b51b349591a1e7b2ae86f87c commit: dd56c723b9354a3e9f0faec2dc8ae95552a87372 Author: Fabian Groffen gentoo org> AuthorDate: Fri Jun 19 07:08:07 2020 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Fri Jun 19 07:08:07 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=dd56c723 scripts/bootstrap-prefix: only run configure if it exists In bootstrap_simple, check if there is a configure script before trying to call it. Some packages don't have a configure script like bzip2. Thanks Bob Dröge for pointing this out in bug #728682. Bug: https://bugs.gentoo.org/728682 Signed-off-by: Fabian Groffen gentoo.org> scripts/bootstrap-prefix.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index c9391bf75c..d72d868a4e 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -738,7 +738,9 @@ bootstrap_simple() { fi einfo "Compiling ${A%-*}" - econf ${myconf} || return 1 + if [[ -x configure ]] ; then + econf ${myconf} || return 1 + fi v $MAKE || return 1 einfo "Installing ${A%-*}"