diff options
author | Sam James <sam@gentoo.org> | 2024-06-02 04:37:30 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-06-02 04:37:30 +0100 |
commit | 3d76fd2a63cd75d1ab29fdb81cef1014c50a9eff (patch) | |
tree | a2f0b4d1519ad73885c2439bbb1ca9766bf5ee13 /app-arch | |
parent | media-libs/openexr: Stabilize 3.2.3 arm64, #932991 (diff) | |
download | gentoo-3d76fd2a63cd75d1ab29fdb81cef1014c50a9eff.tar.gz gentoo-3d76fd2a63cd75d1ab29fdb81cef1014c50a9eff.tar.bz2 gentoo-3d76fd2a63cd75d1ab29fdb81cef1014c50a9eff.zip |
app-arch/xz-utils: cater to libarchive tar harder
Closes: https://bugs.gentoo.org/933200
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/xz-utils/xz-utils-5.6.2.ebuild | 12 | ||||
-rw-r--r-- | 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 ( |