aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/busd/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/busd/Makefile b/devel/busd/Makefile
index a9b3f8805a5f..e84bf9cc22f3 100644
--- a/devel/busd/Makefile
+++ b/devel/busd/Makefile
@@ -1,6 +1,6 @@
PORTNAME= busd
DISTVERSION= 0.2.0
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= devel
MAINTAINER= jbeich@FreeBSD.org
@@ -15,4 +15,9 @@ USE_GITHUB= yes
GH_ACCOUNT= dbus2
PLIST_FILES= bin/${PORTNAME}
+post-patch:
+# Respect consolekit2 as XDG_RUNTIME_DIR fallback
+ @${REINPLACE_CMD} 's,/run,/var&,' \
+ ${WRKSRC}/src/bus/mod.rs
+
.include <bsd.port.mk>