mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
clamav: enable IPv6 for cross builds
This commit is contained in:
parent
fcf3fccc6e
commit
6f2da7dee0
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'clamav'
|
# Template file for 'clamav'
|
||||||
pkgname=clamav
|
pkgname=clamav
|
||||||
version=0.102.3
|
version=0.102.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
# XXX: system llvm is too new (< 3.7 required)
|
# XXX: system llvm is too new (< 3.7 required)
|
||||||
# Shipped llvm does not build with gcc6
|
# Shipped llvm does not build with gcc6
|
||||||
|
@ -37,6 +37,10 @@ do_configure() {
|
||||||
# Disable detection of sys/cdefs.h (it's obsolete)
|
# Disable detection of sys/cdefs.h (it's obsolete)
|
||||||
sed -i configure -e 's; sys/cdefs\.h$;;'
|
sed -i configure -e 's; sys/cdefs\.h$;;'
|
||||||
sed -i configure -e 's;3\.7;3.9;'
|
sed -i configure -e 's;3\.7;3.9;'
|
||||||
|
# Enable IPv6 for cross builds
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
configure_args+=" have_cv_ipv6=yes"
|
||||||
|
fi
|
||||||
# Need to set PCRE_HOME to make --with-pcre=/usr work
|
# Need to set PCRE_HOME to make --with-pcre=/usr work
|
||||||
PCRE_HOME=/usr ./configure ${configure_args}
|
PCRE_HOME=/usr ./configure ${configure_args}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue