From 64fcee4745fc5ae227b7fee9ee1dd36410517602 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Thu, 22 Dec 2022 14:24:24 +0100 Subject: [PATCH] libarchive: fix libarchive.pc --- srcpkgs/libarchive/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libarchive/template b/srcpkgs/libarchive/template index 535c656e36c..f3a185952de 100644 --- a/srcpkgs/libarchive/template +++ b/srcpkgs/libarchive/template @@ -1,7 +1,7 @@ # Template file for 'libarchive' pkgname=libarchive version=3.6.2 -revision=1 +revision=2 bootstrap=yes build_style=gnu-configure configure_args="$(vopt_enable acl) $(vopt_enable acl xattr) @@ -23,6 +23,11 @@ checksum=ba6d02f15ba04aba9c23fd5f236bb234eab9d5209e95d1c4df85c44d5f19b9b3 build_options="acl expat lzo lz4 ssl zstd" build_options_default="acl ssl lz4 zstd" +post_extract() { + # remove iconv from libarchive.pc requirements. + vsed -e '/LIBSREQUIRED.*iconv/d' -i configure +} + pre_configure() { export LIBS=-pthread }