Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Dec 2021 14:55:37 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2d26e2d78202 - main - x11-wm/wayfire-plugins-extra: respect PREFIX after f081b8b768c8
Message-ID:  <202112201455.1BKEtbR8010834@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2d26e2d78202bab6f2b6d63e74585f6fd463392d

commit 2d26e2d78202bab6f2b6d63e74585f6fd463392d
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-12-20 14:54:40 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-12-20 14:55:30 +0000

    x11-wm/wayfire-plugins-extra: respect PREFIX after f081b8b768c8
---
 x11-wm/wayfire-plugins-extra/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112201455.1BKEtbR8010834>