accountsservice: unbreak musl build.
This commit is contained in:
parent
a051cec547
commit
b528424edd
@ -1,7 +1,7 @@
|
||||
# Template file for 'accountsservice'
|
||||
pkgname=accountsservice
|
||||
version=0.6.40
|
||||
revision=1
|
||||
revision=2
|
||||
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,6 +24,12 @@ if [ -z "$CROSS_BUILD" ]; then
|
||||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
+pre_configure() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) configure_args+=" ac_cv_header_utmpx_h=no";;
|
||||
esac
|
||||
}
|
||||
|
||||
accountsservice-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
Loading…
x
Reference in New Issue
Block a user