aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-10-09 11:16:35 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-10-09 11:23:49 +0000
commit774261e4a63517d28cc0637141033eaaaa8c71b7 (patch)
treec007470b43f375c59df549eade07826ad0f8bc01 /x11
parentd46ef2e7f13b67b9c75a27f66be21ce8d8fb81a3 (diff)
downloadports-774261e4a63517d28cc0637141033eaaaa8c71b7.tar.gz
ports-774261e4a63517d28cc0637141033eaaaa8c71b7.zip
x11/fuzzel: unbreak zsh completion for --icon-theme
_fuzzel:cd:38: no such file or directory: /usr/share/icons
Diffstat (limited to 'x11')
-rw-r--r--x11/fuzzel/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/x11/fuzzel/Makefile b/x11/fuzzel/Makefile
index 8fa51007e55c..78ba21b1a35a 100644
--- a/x11/fuzzel/Makefile
+++ b/x11/fuzzel/Makefile
@@ -1,5 +1,6 @@
PORTNAME= fuzzel
DISTVERSION= 1.6.3
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
@@ -39,7 +40,9 @@ PNG_LIB_DEPENDS= libpng.so:graphics/png
PNG_MESON_ENABLED= enable-png
post-patch:
- @${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \
+# Respect PREFIX for icons
+ @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
+ ${WRKSRC}/completions/zsh/_${PORTNAME} \
${WRKSRC}/xdg.c
.include <bsd.port.mk>