summaryrefslogtreecommitdiff
path: root/x11/sddm/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2017-09-06 19:32:40 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2017-09-06 19:32:40 +0000
commitb9272ca006e684b691a2223c81cb60c8c84ea4b9 (patch)
tree98e82027146e8659cd6930ae02d0c19ce255e750 /x11/sddm/files/patch-CMakeLists.txt
parent* Update to v1.1. (diff)
New port: x11/sddm
sddm is a QML based X11 and Wayland display manager https://github.com/sddm/sddm Reviewed by: rakuco, groot_kde.org Differential Revision: https://reviews.freebsd.org/D11619
Notes
Notes: svn path=/head/; revision=449358
Diffstat (limited to 'x11/sddm/files/patch-CMakeLists.txt')
-rw-r--r--x11/sddm/files/patch-CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11/sddm/files/patch-CMakeLists.txt b/x11/sddm/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..2a7e3aa57836
--- /dev/null
+++ b/x11/sddm/files/patch-CMakeLists.txt
@@ -0,0 +1,16 @@
+1) On FreeBSD X is normally started on VT9.
+2) The shutdown command uses '-p' and not '-P' on FreeBSD.
+
+--- CMakeLists.txt.orig 2016-08-28 11:54:03 UTC
++++ CMakeLists.txt
+@@ -143,8 +143,8 @@ if(SYSTEMD_FOUND)
+ set(REBOOT_COMMAND "/usr/bin/systemctl reboot")
+ else()
+ set(SYSTEMD_FOUND 0)
+- set(MINIMUM_VT 7)
+- set(HALT_COMMAND "/sbin/shutdown -h -P now")
++ set(MINIMUM_VT 9)
++ set(HALT_COMMAND "/sbin/shutdown -h -p now")
+ set(REBOOT_COMMAND "/sbin/shutdown -r now")
+ endif()
+ add_feature_info("systemd" SYSTEMD_FOUND "systemd support")