svn commit: r559207 - head/x11/swayidle

Jan Beich jbeich at FreeBSD.org
Fri Dec 25 03:28:47 UTC 2020


Author: jbeich
Date: Fri Dec 25 03:28:47 2020
New Revision: 559207
URL: https://svnweb.freebsd.org/changeset/ports/559207

Log:
  x11/swayidle: use consolekit2 instead of missing logind

Modified:
  head/x11/swayidle/Makefile   (contents, props changed)

Modified: head/x11/swayidle/Makefile
==============================================================================
--- head/x11/swayidle/Makefile	Fri Dec 25 01:01:10 2020	(r559206)
+++ head/x11/swayidle/Makefile	Fri Dec 25 03:28:47 2020	(r559207)
@@ -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/
@@ -37,5 +37,11 @@ BASU_MESON_ENABLED=	logind
 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>


More information about the svn-ports-head mailing list