evolution-data-server: unbreak cross

This commit is contained in:
Jürgen Buchmüller 2015-10-17 18:52:27 +02:00
parent 3dba9bdc17
commit 017c8aed71

View file

@ -1,7 +1,7 @@
# Template file for 'evolution-data-server'
pkgname=evolution-data-server
version=3.18.1
revision=2
revision=3
build_style=gnu-configure
configure_args="--with-openldap --disable-uoa
--with-krb5=${XBPS_CROSS_BASE}/usr
@ -27,6 +27,8 @@ fi
pre_configure() {
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
echo '/* This is an auto-generated header, DO NOT EDIT! */' > iconv-detect.h
echo >>iconv-detect.h