From 0a353d7da492a9ac4d2349b3225e634e6ed4e4b6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 21 Aug 2014 10:59:03 +0200 Subject: [PATCH] NetworkManager: install systemd files only if systemd option is enabled. --- srcpkgs/NetworkManager/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/NetworkManager/template b/srcpkgs/NetworkManager/template index d2fa9e7f31..1b56ba22ec 100644 --- a/srcpkgs/NetworkManager/template +++ b/srcpkgs/NetworkManager/template @@ -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"