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 35582138350 for ; Fri, 20 Mar 2020 18:33:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 473D7E09D6; Fri, 20 Mar 2020 18:33:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 13819E09D6 for ; Fri, 20 Mar 2020 18:33:54 +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 95CD534F329 for ; Fri, 20 Mar 2020 18:33:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B26E18B for ; Fri, 20 Mar 2020 18:33:50 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1584729104.d12cc35e8dc72515330a2a94192f9796e76013ac.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/zstd/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/zstd/zstd-1.4.4-r3.ebuild X-VCS-Directories: app-arch/zstd/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: d12cc35e8dc72515330a2a94192f9796e76013ac X-VCS-Branch: master Date: Fri, 20 Mar 2020 18:33:50 +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: 6237400b-7aab-40b0-b6f3-9a5c6034acf1 X-Archives-Hash: 4fb20ad406a525ff0020e9056f46cb7c commit: d12cc35e8dc72515330a2a94192f9796e76013ac Author: Jan Ziak <0xe2.0x9a.0x9b gmail com> AuthorDate: Tue Mar 17 18:44:22 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Fri Mar 20 18:31:44 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d12cc35e app-arch/zstd: IUSE=threads Closes: https://bugs.gentoo.org/699020 Closes: https://github.com/gentoo/gentoo/pull/14992 Signed-off-by: Jan Ziak <0xe2.0x9a.0x9b gmail.com> Signed-off-by: Matt Turner gentoo.org> app-arch/zstd/zstd-1.4.4-r3.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app-arch/zstd/zstd-1.4.4-r3.ebuild b/app-arch/zstd/zstd-1.4.4-r3.ebuild index 23c642f5684..d5c67e17ca2 100644 --- a/app-arch/zstd/zstd-1.4.4-r3.ebuild +++ b/app-arch/zstd/zstd-1.4.4-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,7 +12,7 @@ SRC_URI="https://github.com/facebook/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="|| ( BSD GPL-2 )" SLOT="0/1" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="lz4 static-libs" +IUSE="lz4 static-libs +threads" RDEPEND="app-arch/xz-utils lz4? ( app-arch/lz4 )" @@ -39,7 +39,11 @@ mymake() { } multilib_src_compile() { - mymake -C lib libzstd libzstd.a libzstd.pc + if use threads; then + mymake -C lib libzstd-mt libzstd.a-mt libzstd.pc + else + mymake -C lib libzstd libzstd.a libzstd.pc + fi if multilib_is_native_abi ; then mymake HAVE_LZ4="$(usex lz4 1 0)" zstd