dbus: disable systemd option for musl builds.

This commit is contained in:
Juan RP 2014-01-11 15:35:33 +01:00
parent 69629f4969
commit 932ba45a16
1 changed files with 6 additions and 1 deletions

View File

@ -23,9 +23,14 @@ conf_files="/etc/dbus-1/session.conf /etc/dbus-1/system.conf"
# Package build options # Package build options
build_options="systemd" build_options="systemd"
build_options_default="systemd"
desc_option_systemd="Enable support for systemd" desc_option_systemd="Enable support for systemd"
# Disable systemd option for *-musl.
case "$XBPS_TARGET_MACHINE" in
*-musl) ;;
*) build_options_default="systemd";;
esac
if [ "$build_option_systemd" ]; then if [ "$build_option_systemd" ]; then
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
_systemddir="$XBPS_CROSS_BASE" _systemddir="$XBPS_CROSS_BASE"