View | Details | Raw Unified | Return to bug 282810 | Differences between
and this patch

Collapse All | Expand All

(-)b/graphics/zathura/Makefile (+5 lines)
Lines 35-38 SYNCTEX_BUILD_DEPENDS= tex-synctex>=1.19.0:devel/tex-synctex Link Here
35
SYNCTEX_RUN_DEPENDS=	${SYNCTEX_BUILD_DEPENDS}
35
SYNCTEX_RUN_DEPENDS=	${SYNCTEX_BUILD_DEPENDS}
36
SYNCTEX_MESON_ENABLED=	synctex
36
SYNCTEX_MESON_ENABLED=	synctex
37
37
38
post-patch:
39
	@${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|g' \
40
		${WRKSRC}/zathura/config.c \
41
		${WRKSRC}/doc/man/zathurarc.5.rst
42
38
.include <bsd.port.mk>
43
.include <bsd.port.mk>
(-)b/graphics/zathura/files/patch-doc_man_zathurarc.5.rst (+11 lines)
Added Link Here
1
--- doc/man/zathurarc.5.rst.orig	2024-11-17 11:06:13.582362000 +0100
2
+++ doc/man/zathurarc.5.rst	2024-11-17 11:06:20.828353000 +0100
3
@@ -5,7 +5,7 @@
4
 SYNOPSIS
5
 ========
6
 
7
-/etc/zathurarc, $XDG_CONFIG_HOME/zathura/zathurarc
8
+@PREFIX@/etc/zathurarc, $XDG_CONFIG_HOME/zathura/zathurarc
9
 
10
 DESCRIPTION
11
 ===========
(-)b/graphics/zathura/files/patch-zathura_config.c (-1 / +11 lines)
Added Link Here
0
- 
1
--- zathura/config.c	2024-11-17 09:37:12.067602000 +0100
2
+++ zathura/config.c.orig	2024-11-17 09:36:55.101275000 +0100
3
@@ -18,7 +18,7 @@
4
 #include <girara/utils.h>
5
 #include <glib/gi18n.h>
6
 
7
-#define GLOBAL_RC "/etc/zathurarc"
8
+#define GLOBAL_RC "@PREFIX@/etc/zathurarc"
9
 #define ZATHURA_RC "zathurarc"
10
 
11
 static void cb_jumplist_change(girara_session_t* session, const char* UNUSED(name), girara_setting_type_t UNUSED(type),

Return to bug 282810