From c4bbcf2bc45efd3a6ac068265b55250c61915545 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 29 Jul 2014 21:19:50 +0200 Subject: [PATCH] bluez: move systemd related settings to the systemd option. --- srcpkgs/bluez/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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