summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-12-20 14:54:40 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-12-20 14:55:30 +0000
commit2d26e2d78202bab6f2b6d63e74585f6fd463392d (patch)
tree4137f0488d577cc47328f714541be3953772b275
parentx11-wm/wayfire-plugins-extra: enable dbus and windecor plugins (diff)
x11-wm/wayfire-plugins-extra: respect PREFIX after f081b8b768c8
-rw-r--r--x11-wm/wayfire-plugins-extra/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11-wm/wayfire-plugins-extra/Makefile b/x11-wm/wayfire-plugins-extra/Makefile
index 32dd881e1879..03d733c9d590 100644
--- a/x11-wm/wayfire-plugins-extra/Makefile
+++ b/x11-wm/wayfire-plugins-extra/Makefile
@@ -44,4 +44,9 @@ LIBRSVG2_USES= xorg
LIBRSVG2_USE= GNOME=librsvg2 XORG=pixman
LIBRSVG2_MESON_TRUE= enable_windecor
+post-patch:
+# Respect PREFIX for icons
+ @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
+ ${WRKSRC}/subprojects/windecor/deco-theme.cpp
+
.include <bsd.port.mk>