diff --git a/srcpkgs/bluez/template b/srcpkgs/bluez/template index c302c50fb3..8b01970636 100644 --- a/srcpkgs/bluez/template +++ b/srcpkgs/bluez/template @@ -1,16 +1,14 @@ # Template file for 'bluez' pkgname=bluez version=5.21 -revision=2 +revision=3 build_style=gnu-configure configure_args="--with-udevdir=/usr/lib/udev - --with-systemdsystemunitdir=/usr/lib/systemd/system --enable-pie --enable-threads --enable-library" hostmakedepends="automake libtool pkg-config flex" makedepends="libglib-devel libudev-devel>=183 dbus-devel cups-devel libical-devel readline-devel>=6.3" conf_files="/etc/bluetooth/main.conf" -systemd_services="bluetooth.service true" short_desc="Bluetooth tools and daemons" maintainer="Juan RP " homepage="http://www.bluez.org/" @@ -22,8 +20,9 @@ checksum=81eb073516f39ff1fa02fa40120e834f40fdb0b772f8f4153a9ab566cc0a1f4f build_options="systemd" if [ "$build_option_systemd" ]; then - configure_args+=" --enable-systemd" + configure_args+=" --enable-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system" makedepends+=" systemd-devel" + systemd_services="bluetooth.service true" else configure_args+=" --disable-systemd" fi