summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-28 17:28:51 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-28 17:36:19 +0100
commit5c37575971a57d263e1fc928bb29a38f0a9ad615 (patch)
tree227758aaf536bd96fcec348abc2e6eed7fa4e86d /app-arch/libarchive
parentapp-arch/libarchive: eautoconf to fix makedev implicit decl (diff)
downloadgentoo-5c37575971a57d263e1fc928bb29a38f0a9ad615.tar.gz
gentoo-5c37575971a57d263e1fc928bb29a38f0a9ad615.tar.bz2
gentoo-5c37575971a57d263e1fc928bb29a38f0a9ad615.zip
app-arch/libarchive: Fix pkg-config file in 3.6.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-arch/libarchive')
-rw-r--r--app-arch/libarchive/libarchive-3.6.2-r1.ebuild (renamed from app-arch/libarchive/libarchive-3.6.2.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/app-arch/libarchive/libarchive-3.6.2.ebuild b/app-arch/libarchive/libarchive-3.6.2-r1.ebuild
index 9efe314e09d9..66242292e6c3 100644
--- a/app-arch/libarchive/libarchive-3.6.2.ebuild
+++ b/app-arch/libarchive/libarchive-3.6.2-r1.ebuild
@@ -126,4 +126,7 @@ multilib_src_install() {
# Libs.private: should be used from libarchive.pc instead
find "${ED}" -type f -name "*.la" -delete || die
+ # https://github.com/libarchive/libarchive/issues/1766
+ sed -e '/Requires\.private/s:iconv::' \
+ -i "${ED}/usr/$(get_libdir)/pkgconfig/libarchive.pc" || die
}