aboutsummaryrefslogtreecommitdiff
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:44 +0000
commit876d155e09a21b1537e4465e864836d5cb793ab0 (patch)
treec4381bbd98e7f3e5ebaf260039b34edfee5aa61d
parent8133b766147808f44df827181a3203145c871a3b (diff)
downloadports-876d155e09a21b1537e4465e864836d5cb793ab0.tar.gz
ports-876d155e09a21b1537e4465e864836d5cb793ab0.zip
x11-wm/wayfire-plugins-extra: respect PREFIX after f081b8b768c8
(cherry picked from commit 2d26e2d78202bab6f2b6d63e74585f6fd463392d)
-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 73d629bcc016..6e0f58008875 100644
--- a/x11-wm/wayfire-plugins-extra/Makefile
+++ b/x11-wm/wayfire-plugins-extra/Makefile
@@ -41,4 +41,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>