accountsservice: unbreak musl build.
This commit is contained in:
parent
a051cec547
commit
b528424edd
1 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'accountsservice'
|
# Template file for 'accountsservice'
|
||||||
pkgname=accountsservice
|
pkgname=accountsservice
|
||||||
version=0.6.40
|
version=0.6.40
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static $(vopt_enable systemd) $(vopt_enable gir introspection)
|
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"
|
ac_cv_file__etc_redhat_release=no ac_cv_file__etc_debian_version=no"
|
||||||
|
@ -24,6 +24,12 @@ if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default="gir"
|
build_options_default="gir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
+pre_configure() {
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) configure_args+=" ac_cv_header_utmpx_h=no";;
|
||||||
|
esac
|
||||||
|
}
|
||||||
|
|
||||||
accountsservice-devel_package() {
|
accountsservice-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue