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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7C74315808B for ; Sun, 20 Mar 2022 18:51:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FD85E08CD; Sun, 20 Mar 2022 18:51:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 055D1E08CD for ; Sun, 20 Mar 2022 18:51:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0AB0E3430FB for ; Sun, 20 Mar 2022 18:51:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4D6134F for ; Sun, 20 Mar 2022 18:51:46 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1647802288.01be6b457af58e5994e6c0a2d723e98d89a43e6d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/superlu_mt/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild X-VCS-Directories: sci-libs/superlu_mt/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 01be6b457af58e5994e6c0a2d723e98d89a43e6d X-VCS-Branch: master Date: Sun, 20 Mar 2022 18:51:46 +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: 72feacc0-de08-4d80-bbae-63435173dde8 X-Archives-Hash: 4ed97b8f05ebaa19ae01cb7bc7f82300 commit: 01be6b457af58e5994e6c0a2d723e98d89a43e6d Author: Sam James gentoo org> AuthorDate: Sun Mar 20 18:50:26 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Mar 20 18:51:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01be6b45 sci-libs/superlu_mt: [QA] fix tc-get* quoting This can cause build problems for e.g. 32-bit (gcc -m32 ...) Signed-off-by: Sam James gentoo.org> sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild b/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild index 631f199b5ca3..ec84973ee7d0 100644 --- a/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild +++ b/sci-libs/superlu_mt/superlu_mt-3.1-r1.ebuild @@ -33,12 +33,12 @@ PATCHES=( pkg_setup() { if use openmp && ! use threads; then - if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then + if [[ "$(tc-getCC)" == *gcc ]] && ! tc-has-openmp; then ewarn "OpenMP is not available in your current selected gcc" die "need openmp capable gcc" fi CTHREADS="-D__OPENMP" - [[ $(tc-getCC) == *gcc ]] && LDTHREADS="-fopenmp" + [[ "$(tc-getCC)" == *gcc ]] && LDTHREADS="-fopenmp" else CTHREADS="-D__PTHREAD" LDTHREADS="-pthread"