summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-07-16 23:38:12 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-07-16 23:38:12 +0000
commit401738123c26a2ba5ff2c56416d3e0c5c6ceda22 (patch)
treeb3fc45926855277a28bb70ed395455a8efcf9a02
parentdevel/bloaty: update to 1.1 (diff)
x11/nwg-launchers: respect PREFIX for .desktop files
Notes
Notes: svn path=/head/; revision=542395
-rw-r--r--x11/nwg-launchers/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11/nwg-launchers/Makefile b/x11/nwg-launchers/Makefile
index a26ce984e0f2..3f95d93fe905 100644
--- a/x11/nwg-launchers/Makefile
+++ b/x11/nwg-launchers/Makefile
@@ -23,4 +23,8 @@ USE_GITHUB= yes
USE_GNOME= gtkmm30
GH_ACCOUNT= nwg-piotr
+post-patch:
+# Respect PREFIX when looking for .desktop files
+ @${REINPLACE_CMD} 's,/usr/local,${PREFIX},' ${WRKSRC}/grid/grid_tools.cc
+
.include <bsd.port.mk>