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