[Lunar-commits] <moonbase-other> bluez-5: a little adjustment here, don't need both udev and systemd just one.

Dennis Veatch dennisveatch at bellsouth.net
Sun Sep 21 19:46:33 CEST 2014


commit 15ac07f74fce367a9a485125f26531442335782e
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Sun, 21 Sep 2014 13:45:50 -0400
URL: https://github.com/lunar-linux/moonbase-other/commit/15ac07f74fce367a9a485125f26531442335782e

bluez-5: a little adjustment here, don't need both udev and systemd just one.
---
  bluetooth/bluez-5/BUILD   | +6/-0     
  bluetooth/bluez-5/DEPENDS | +1/-1     
  2 files changed, 7 insertions(+), 1 deletion(-)

--- a/bluetooth/bluez-5/BUILD
+++ b/bluetooth/bluez-5/BUILD
@@ -1,6 +1,12 @@
 
   mkdir -p /etc/bluetooth &&
 
+  if in_depends $MODULE systemd ; then
+    OPTS+=" --enable-systemd --disable-udev"
+   else
+    OPTS+=" --enable-udev --disable-systemd"
+  fi &&
+
   default_build &&
 
   install profiles/*/*.conf /etc/bluetooth/ &&
--- a/bluetooth/bluez-5/DEPENDS
+++ b/bluetooth/bluez-5/DEPENDS
@@ -3,5 +3,5 @@ depends dbus-glib
 depends psmisc
 depends libical
 
-optional_depends "%UDEV" "--enable-udev --enable-systemd" "--disable-udev --disable-systemd" "for udev/systemd support"
+optional_depends "%UDEV" "" "--disable-udev --disable-systemd" "for udev/systemd support"
 optional_depends "cups"  "--enable-cups"                  "--disable-cups"                   "to enable cups printing support"




More information about the Lunar-commits mailing list