accountsservice: install systemd files only if systemd option is enabled.

This commit is contained in:
Juan RP 2014-08-21 11:00:35 +02:00
parent 0a353d7da4
commit 10b9d17cba
1 changed files with 3 additions and 4 deletions

View File

@ -1,11 +1,10 @@
# Template file for 'accountsservice'
pkgname=accountsservice
version=0.6.37
revision=3
revision=4
build_style=gnu-configure
configure_args="--disable-static
ac_cv_file__etc_redhat_release=no ac_cv_file__etc_debian_version=no
--with-systemdsystemunitdir=/usr/lib/systemd/system"
ac_cv_file__etc_redhat_release=no ac_cv_file__etc_debian_version=no"
hostmakedepends="pkg-config intltool glib-devel"
makedepends="polkit-devel"
make_dirs="
@ -33,7 +32,7 @@ else
fi
if [ "$build_option_systemd" ]; then
configure_args+=" --enable-systemd"
configure_args+=" --enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system"
makedepends+=" systemd-devel"
else
configure_args+=" --disable-systemd"