* updated ksmtp (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / x11 / slim / no_slimlock_if_no_PAM.patch
blob7d93e632ddbddbb2a35e7b01fa8834257ff4ba28
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/*/slim/no_slimlock_if_no_PAM.patch
5 # Copyright (C) 2021 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- slim-1.3.6/CMakeLists.txt.vanilla 2020-09-30 21:27:00.614767770 +0200
18 +++ slim-1.3.6/CMakeLists.txt 2020-09-30 21:28:19.125780753 +0200
19 @@ -221,7 +221,9 @@
20 ####### install
21 # slim
22 install(TARGETS slim RUNTIME DESTINATION bin)
23 +if (BUILD_SLIMLOCK)
24 install(TARGETS slimlock RUNTIME DESTINATION bin)
25 +endif (BUILD_SLIMLOCK)
27 if (BUILD_SHARED_LIBS)
28 set_target_properties(libslim PROPERTIES
29 @@ -236,7 +238,9 @@
31 # man file
32 install(FILES slim.1 DESTINATION ${MANDIR}/man1/)
33 +if (BUILD_SLIMLOCK)
34 install(FILES slimlock.1 DESTINATION ${MANDIR}/man1/)
35 +endif (BUILD_SLIMLOCK)
36 # configure
37 install(FILES slim.conf DESTINATION ${SYSCONFDIR})
38 # systemd service file