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 8BEFF1581D3 for ; Sun, 2 Jun 2024 03:43:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C57B72BC015; Sun, 2 Jun 2024 03:43:14 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A5EAF2BC015 for ; Sun, 2 Jun 2024 03:43:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C415534164C for ; Sun, 2 Jun 2024 03:43:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 226D1119 for ; Sun, 2 Jun 2024 03:43:12 +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: <1717299450.3d76fd2a63cd75d1ab29fdb81cef1014c50a9eff.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/xz-utils/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/xz-utils/xz-utils-5.6.2.ebuild app-arch/xz-utils/xz-utils-9999.ebuild X-VCS-Directories: app-arch/xz-utils/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3d76fd2a63cd75d1ab29fdb81cef1014c50a9eff X-VCS-Branch: master Date: Sun, 2 Jun 2024 03:43:12 +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: 3155a53b-4d51-4545-a270-c5b468e32b6e X-Archives-Hash: 78b0337f30f66aa287e7a88a96f33a16 commit: 3d76fd2a63cd75d1ab29fdb81cef1014c50a9eff Author: Sam James gentoo org> AuthorDate: Sun Jun 2 03:37:30 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jun 2 03:37:30 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d76fd2a app-arch/xz-utils: cater to libarchive tar harder Closes: https://bugs.gentoo.org/933200 Signed-off-by: Sam James gentoo.org> app-arch/xz-utils/xz-utils-5.6.2.ebuild | 12 ++++++++---- app-arch/xz-utils/xz-utils-9999.ebuild | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/app-arch/xz-utils/xz-utils-5.6.2.ebuild b/app-arch/xz-utils/xz-utils-5.6.2.ebuild index 1a3ca64e6cc2..a5c27989d3cc 100644 --- a/app-arch/xz-utils/xz-utils-5.6.2.ebuild +++ b/app-arch/xz-utils/xz-utils-5.6.2.ebuild @@ -116,10 +116,14 @@ multilib_src_compile() { if use pgo ; then emake CFLAGS="${CFLAGS} ${pgo_generate_flags}" -k check - local tar_pgo_args=( - --mtime=@2718281828 - ) - has_version -b "app-alternatives/tar[gnu]" && tar_pgo_args+=( --sort=name ) + local tar_pgo_args=() + + if has_version -b "app-alternatives/tar[gnu]" ; then + tar_pgo_args+=( + --mtime=@2718281828 + --sort=name + ) + fi if multilib_is_native_abi ; then ( diff --git a/app-arch/xz-utils/xz-utils-9999.ebuild b/app-arch/xz-utils/xz-utils-9999.ebuild index 1a3ca64e6cc2..a5c27989d3cc 100644 --- a/app-arch/xz-utils/xz-utils-9999.ebuild +++ b/app-arch/xz-utils/xz-utils-9999.ebuild @@ -116,10 +116,14 @@ multilib_src_compile() { if use pgo ; then emake CFLAGS="${CFLAGS} ${pgo_generate_flags}" -k check - local tar_pgo_args=( - --mtime=@2718281828 - ) - has_version -b "app-alternatives/tar[gnu]" && tar_pgo_args+=( --sort=name ) + local tar_pgo_args=() + + if has_version -b "app-alternatives/tar[gnu]" ; then + tar_pgo_args+=( + --mtime=@2718281828 + --sort=name + ) + fi if multilib_is_native_abi ; then (