evolution-data-server: unbreak cross
This commit is contained in:
parent
3dba9bdc17
commit
017c8aed71
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'evolution-data-server'
|
# Template file for 'evolution-data-server'
|
||||||
pkgname=evolution-data-server
|
pkgname=evolution-data-server
|
||||||
version=3.18.1
|
version=3.18.1
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--with-openldap --disable-uoa
|
configure_args="--with-openldap --disable-uoa
|
||||||
--with-krb5=${XBPS_CROSS_BASE}/usr
|
--with-krb5=${XBPS_CROSS_BASE}/usr
|
||||||
|
@ -27,6 +27,8 @@ fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
# Suppress wrong `pkg-config --cflags libical` result -I/usr/include
|
||||||
|
sed -i configure -e "/LIBICAL_EXTRA_CFLAGS=\"/s; -I.*\";\";"
|
||||||
# Create iconv-detect.h for cross builds
|
# Create iconv-detect.h for cross builds
|
||||||
echo '/* This is an auto-generated header, DO NOT EDIT! */' > iconv-detect.h
|
echo '/* This is an auto-generated header, DO NOT EDIT! */' > iconv-detect.h
|
||||||
echo >>iconv-detect.h
|
echo >>iconv-detect.h
|
||||||
|
|
Loading…
Reference in a new issue