From 89eea8ffe16edd99e103b08eca6d17e1b1874354 Mon Sep 17 00:00:00 2001 From: beefcurtains Date: Wed, 1 Jul 2015 08:20:42 +0000 Subject: [PATCH] lxdm: remove systemd build option (#1736) --- srcpkgs/lxdm/template | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/srcpkgs/lxdm/template b/srcpkgs/lxdm/template index 4e96ede894d..ff263731341 100644 --- a/srcpkgs/lxdm/template +++ b/srcpkgs/lxdm/template @@ -1,12 +1,11 @@ # Template file for 'lxdm' pkgname=lxdm version=0.5.1 -revision=5 +revision=6 build_style=gnu-configure -build_options="systemd" -configure_args="--sbindir=/usr/bin $(vopt_if systemd --disable-consolekit --enable-consolekit) --with-pam" +configure_args="--sbindir=/usr/bin --enable-consolekit --with-pam" hostmakedepends="automake gettext-devel libtool pkg-config intltool" -makedepends="pam-devel gtk+-devel iso-codes $(vopt_if systemd '' ConsoleKit2-devel)" +makedepends="pam-devel gtk+-devel iso-codes ConsoleKit2-devel" conf_files=" /etc/lxdm/LoginReady /etc/lxdm/PostLogin @@ -37,9 +36,7 @@ post_install() { rm -f ${DESTDIR}/etc/pam.d/lxdm vinstall ${FILESDIR}/lxdm.pam 644 etc/pam.d lxdm # use tty7 for X without systemd - if [ -z "$build_option_systemd" ]; then - sed -i 's,vt1,vt7,g' ${DESTDIR}/etc/lxdm/lxdm.conf - fi + sed -i 's,vt1,vt7,g' ${DESTDIR}/etc/lxdm/lxdm.conf sed -i 's,/usr/sbin,/usr/bin,g' ${DESTDIR}/usr/bin/lxdm vmkdir var/lib/lxdm echo 'GDK_CORE_DEVICE_EVENTS=true' > ${DESTDIR}/var/lib/lxdm/.pam_environment