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'
|
||||
pkgname=clamav
|
||||
version=0.102.3
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
# XXX: system llvm is too new (< 3.7 required)
|
||||
# Shipped llvm does not build with gcc6
|
||||
|
@ -37,6 +37,10 @@ do_configure() {
|
|||
# Disable detection of sys/cdefs.h (it's obsolete)
|
||||
sed -i configure -e 's; sys/cdefs\.h$;;'
|
||||
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
|
||||
PCRE_HOME=/usr ./configure ${configure_args}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue