git: 278d52d7b33e - 2023Q1 - x11/fuzzel: unbreak fish completion for --icon-theme

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 27 Mar 2023 19:21:58 UTC
The branch 2023Q1 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=278d52d7b33e2533e989e03ea0aa834e1966d5a6

commit 278d52d7b33e2533e989e03ea0aa834e1966d5a6
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-03-27 19:18:04 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-03-27 19:21:55 +0000

    x11/fuzzel: unbreak fish completion for --icon-theme
    
    find: /usr/share/icons: No such file or directory
    (cherry picked from commit 2a92527886dc6dd3548e439be8cd05289badfde1)
---
 x11/fuzzel/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x11/fuzzel/Makefile b/x11/fuzzel/Makefile
index 4f97961529df..0cc01118da91 100644
--- a/x11/fuzzel/Makefile
+++ b/x11/fuzzel/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	fuzzel
 DISTVERSION=	1.8.2
+PORTREVISION=	1
 CATEGORIES=	x11 wayland
 MASTER_SITES=	https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
 
@@ -49,6 +50,7 @@ PNG_MESON_OFF=		-Dpng-backend=none
 post-patch:
 # Respect PREFIX for icons
 	@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
+		${WRKSRC}/completions/fish/${PORTNAME}.fish \
 		${WRKSRC}/completions/zsh/_${PORTNAME} \
 		${WRKSRC}/xdg.c
 # Respect PREFIX for system-wide config