git: 973d9f4cec92 - main - textproc/crow-translate: Patch hardcoded path

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Fri, 01 Dec 2023 08:10:29 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=973d9f4cec92516b94bbd408a1c59e1e73c09fd6

commit 973d9f4cec92516b94bbd408a1c59e1e73c09fd6
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-12-01 08:10:21 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-12-01 08:10:26 +0000

    textproc/crow-translate: Patch hardcoded path
---
 textproc/crow-translate/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/textproc/crow-translate/Makefile b/textproc/crow-translate/Makefile
index 8a4bf6ef8054..fee8e8727f5c 100644
--- a/textproc/crow-translate/Makefile
+++ b/textproc/crow-translate/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	crow-translate
 PORTVERSION=	2.11.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc
 
 MAINTAINER=	ehaupt@FreeBSD.org
@@ -28,4 +28,8 @@ USE_QT=		concurrent core dbus gui multimedia network svg widgets \
 		x11extras buildtools:build qmake:build
 USE_XORG=	ice sm x11 xcb xext
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|g' \
+		${WRKSRC}/src/settings/autostartmanager/unixautostartmanager.cpp
+
 .include <bsd.port.mk>