Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Oct 2021 11:25:38 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 6b894ff7e4fe - 2021Q4 - x11/fuzzel: unbreak zsh completion for --icon-theme
Message-ID:  <202110091125.199BPcgU046897@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=6b894ff7e4feed1513fc5ef524b750b401d27571

commit 6b894ff7e4feed1513fc5ef524b750b401d27571
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-10-09 11:16:35 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-10-09 11:25:10 +0000

    x11/fuzzel: unbreak zsh completion for --icon-theme
    
    _fuzzel:cd:38: no such file or directory: /usr/share/icons
    
    (cherry picked from commit 774261e4a63517d28cc0637141033eaaaa8c71b7)
---
 x11/fuzzel/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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>



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