accountsservice: unbreak musl build (take 2).

This commit is contained in:
Juan RP 2015-05-13 19:32:08 +02:00
parent b528424edd
commit dd3c56f36a
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'accountsservice'
pkgname=accountsservice
version=0.6.40
revision=2
revision=3
build_style=gnu-configure
configure_args="--disable-static $(vopt_enable systemd) $(vopt_enable gir introspection)
ac_cv_file__etc_redhat_release=no ac_cv_file__etc_debian_version=no"
@ -24,7 +24,7 @@ if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
+pre_configure() {
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args+=" ac_cv_header_utmpx_h=no";;
esac