mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
libarchive: fix libarchive.pc
This commit is contained in:
parent
335a616f86
commit
64fcee4745
1 changed files with 6 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libarchive'
|
# Template file for 'libarchive'
|
||||||
pkgname=libarchive
|
pkgname=libarchive
|
||||||
version=3.6.2
|
version=3.6.2
|
||||||
revision=1
|
revision=2
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="$(vopt_enable acl) $(vopt_enable acl xattr)
|
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="acl expat lzo lz4 ssl zstd"
|
||||||
build_options_default="acl ssl lz4 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() {
|
pre_configure() {
|
||||||
export LIBS=-pthread
|
export LIBS=-pthread
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue