diff options
| author | Johannes Huber <johu@gentoo.org> | 2012-02-03 14:41:20 +0100 |
|---|---|---|
| committer | Johannes Huber <johu@gentoo.org> | 2012-02-03 14:41:20 +0100 |
| commit | b36d66a1a1108d4d845e2adc16833c05e285cb9b (patch) | |
| tree | e31db0bffc5172354ba75a7c865a4b59a105638f /kde-base/libkworkspace/files/libkworkspace-4.8.0-pam-optional.patch | |
| parent | 346914e3c6803939654b881bb580ea55f9b20b7a (diff) | |
| download | kde-b36d66a1a1108d4d845e2adc16833c05e285cb9b.tar.gz kde-b36d66a1a1108d4d845e2adc16833c05e285cb9b.tar.bz2 kde-b36d66a1a1108d4d845e2adc16833c05e285cb9b.zip | |
[kde-base/libkworkspace] Patch FindPAM to make it optional in example for kdm and kcheckpass wrt bug 398333.
(Portage version: 2.2.0_alpha84/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'kde-base/libkworkspace/files/libkworkspace-4.8.0-pam-optional.patch')
| -rw-r--r-- | kde-base/libkworkspace/files/libkworkspace-4.8.0-pam-optional.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kde-base/libkworkspace/files/libkworkspace-4.8.0-pam-optional.patch b/kde-base/libkworkspace/files/libkworkspace-4.8.0-pam-optional.patch new file mode 100644 index 00000000000..ee640dfe36c --- /dev/null +++ b/kde-base/libkworkspace/files/libkworkspace-4.8.0-pam-optional.patch @@ -0,0 +1,19 @@ +diff --git a/cmake/modules/FindPAM.cmake b/cmake/modules/FindPAM.cmake +index 3499836..92527b5 100644 +--- a/cmake/modules/FindPAM.cmake ++++ b/cmake/modules/FindPAM.cmake +@@ -5,6 +5,8 @@ + # PAM_INCLUDE_DIR - the pam include directory + # PAM_LIBRARIES - libpam library + ++if (WITH_PAM) ++ + if (PAM_INCLUDE_DIR AND PAM_LIBRARY) + # Already in cache, be silent + set(PAM_FIND_QUIETLY TRUE) +@@ -72,3 +74,5 @@ else (PAM_FOUND) + endif (PAM_FOUND) + + mark_as_advanced(PAM_INCLUDE_DIR PAM_LIBRARY DL_LIBRARY PAM_MESSAGE_CONST) ++ ++endif (WITH_PAM) |
