Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Sep 2021 06:54:43 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: 8e6e8b340720 - 2021Q3 - x11/mako: unbreak icon search
Message-ID:  <202109020654.1826shTn046211@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=8e6e8b34072064e953d9da2c6898d2893d1a5f2a

commit 8e6e8b34072064e953d9da2c6898d2893d1a5f2a
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-09-02 06:45:29 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-09-02 06:54:01 +0000

    x11/mako: unbreak icon search
    
    Example:
    $ notify-send --icon=mpv song.mp3
    
    (cherry picked from commit 9ea1c4642797c6c798ca562e614d4c383dd5869b)
---
 x11/mako/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/x11/mako/Makefile b/x11/mako/Makefile
index 735ed6d8a0f0..ecf6e6d273ec 100644
--- a/x11/mako/Makefile
+++ b/x11/mako/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	mako
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.6
+PORTREVISION=	1
 CATEGORIES=	x11
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -36,4 +37,10 @@ MANPAGES_PLIST_FILES=	man/man1/${PORTNAME}.1.gz \
 PIXBUF_USE=		GNOME=gdkpixbuf2
 PIXBUF_MESON_ENABLED=	icons
 
+post-patch:
+# Respect PREFIX for icons
+	@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},g' \
+		${WRKSRC}/icon.c \
+		${WRKSRC}/${PORTNAME}.5.scd
+
 .include <bsd.port.mk>



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