aboutsummaryrefslogtreecommitdiff
path: root/x11/kde-workspace-kde4/files/patch-ConfigureChecks.cmake
blob: ceb47dd93117cc8d289b14a164d27dbae4c7c286 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ConfigureChecks.cmake.orig	2015-06-26 03:17:21 UTC
+++ ConfigureChecks.cmake
@@ -21,16 +21,7 @@ if (PAM_FOUND)
     endmacro(define_pam_service)
 
     macro(install_pam_service APP)
-        string(TOUPPER KDE4_${APP}_PAM_SERVICE cvar)
-        install(CODE "
-            set(DESTDIR_VALUE \"\$ENV{DESTDIR}\")
-            if (NOT DESTDIR_VALUE)
-                exec_program(\"${KDEBASE_WORKSPACE_SOURCE_DIR}/mkpamserv\" ARGS ${${cvar}} RETURN_VALUE ret)
-                if (NOT ret)
-                    exec_program(\"${KDEBASE_WORKSPACE_SOURCE_DIR}/mkpamserv\" ARGS -P ${${cvar}}-np)
-                endif (NOT ret)
-            endif (NOT DESTDIR_VALUE)
-                    ")
+        message("Ignore installing pam service, FreeBSD has it already.")
     endmacro(install_pam_service)
 
     define_pam_service(KDM)