From 670b40d79ec8cfa0662eff5e9df438e618971515 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Thu, 13 Feb 2020 22:31:04 +0100 Subject: Add support for building Plasma5 on a PAM-ified Slackware The variable SLACKPAM is set to "yes" in kde/kde.options if PAM is found installed on the system. Otherwise it is set to "no" and this is meant to add support for PAM. These packages will be supplied by a pam-ified Slackware, so they should not be installed from 'ktown': deps:ConsoleKit2,cracklib,libpwquality These packages will react to SLACKPAM variable setting: plasma:kscreenlocker,plasma-workspace plasma-extra:sddm-qt5 Uncomment in kde/modules/plasma and compile: plasma:kwallet-pam --- kde/kde.options | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'kde/kde.options') diff --git a/kde/kde.options b/kde/kde.options index ac89033..147cac7 100644 --- a/kde/kde.options +++ b/kde/kde.options @@ -54,3 +54,10 @@ fi # Do not use "final build" unless we build an actual release. export KDE_OPT_ARGS=" -Wno-dev -DBUILD_TESTING=OFF -DKDE4_BUILD_TESTS=OFF -DSITE=\"slackware.com\" -DKDE_DISTRIBUTION_TEXT=\"volkerdi@slackware.com\" " +# Choose correct options depending on whether PAM is installed: +if [ -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then + SLACKPAM=${SLACKPAM:-"yes"} +else + SLACKPAM=${SLACKPAM:-"no"} +fi + -- cgit v1.2.3