NetworkManager: install systemd files only if systemd option is enabled.
This commit is contained in:
parent
5d5cf4d06f
commit
0a353d7da4
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'NetworkManager'
|
||||
pkgname=NetworkManager
|
||||
version=0.9.10.0
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-dhcpcd=/usr/sbin/dhcpcd --with-dhclient=no
|
||||
--with-system-ca-path=/etc/ssl/certs --enable-more-warnings=no
|
||||
--with-crypto=gnutls --disable-static --enable-ppp --enable-concheck
|
||||
--with-systemdsystemunitdir=/usr/lib/systemd/system
|
||||
--with-udev-dir=/usr/lib/udev
|
||||
--with-kernel-firmware-dir=/usr/lib/firmware --disable-wimax
|
||||
--with-pppd-plugin-dir=/usr/lib/pppd/2.4.6 --enable-modify-system
|
||||
|
@ -49,6 +48,7 @@ fi
|
|||
|
||||
if [ "$build_option_systemd" ]; then
|
||||
configure_args+=" --with-session-tracking=systemd --with-suspend-resume=systemd"
|
||||
configure_args+=" --with-systemdsystemunitdir=/usr/lib/systemd/system"
|
||||
makedepends+=" systemd-devel"
|
||||
else
|
||||
configure_args+=" --with-session-tracking=consolekit --with-suspend-resume=upower"
|
||||
|
|
Loading…
Reference in New Issue