summaryrefslogtreecommitdiff
path: root/x11/swayidle/Makefile
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-12-25 03:28:47 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-12-25 03:28:47 +0000
commit51bcedde1c13dd3926b2cdde56201d2c0b19dd51 (patch)
tree0931c72975581f370593c2f53d5278dd9fc265b3 /x11/swayidle/Makefile
parentgraphics/py-mcomix: update to 1.2.1g20201223 (diff)
x11/swayidle: use consolekit2 instead of missing logind
Notes
Notes: svn path=/head/; revision=559207
Diffstat (limited to 'x11/swayidle/Makefile')
-rw-r--r--x11/swayidle/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/swayidle/Makefile b/x11/swayidle/Makefile
index 7ec231516d4f..07adffcd3ba6 100644
--- a/x11/swayidle/Makefile
+++ b/x11/swayidle/Makefile
@@ -2,7 +2,7 @@
PORTNAME= swayidle
DISTVERSION= 1.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -38,4 +38,10 @@ MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
MANPAGES_MESON_ENABLED= man-pages
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
+post-patch:
+# Temporarily use ConsoleKit2 like sysutils/gnome-settings-daemon
+ @${REINPLACE_CMD} -e 's,/login1,/ConsoleKit/Manager,' \
+ -e 's,login1,ConsoleKit,' \
+ ${WRKSRC}/main.c
+
.include <bsd.port.mk>