git: 31316930a7b8 - main - devel/xdg-user-dirs: Fix localbase paths
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Oct 2025 18:38:28 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=31316930a7b85dde6c7f57f09a2f7ed4d96f380d
commit 31316930a7b85dde6c7f57f09a2f7ed4d96f380d
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-10-14 18:36:59 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-10-14 18:37:47 +0000
devel/xdg-user-dirs: Fix localbase paths
PR: 290233
---
devel/xdg-user-dirs/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/xdg-user-dirs/Makefile b/devel/xdg-user-dirs/Makefile
index a0078c18eaff..306e0a23511b 100644
--- a/devel/xdg-user-dirs/Makefile
+++ b/devel/xdg-user-dirs/Makefile
@@ -1,5 +1,6 @@
PORTNAME= xdg-user-dirs
DISTVERSION= 0.19
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://user-dirs.freedesktop.org/releases/
@@ -17,4 +18,9 @@ USES= gettext gnome iconv localbase:ldflags meson tar:xz
USE_GNOME= libxslt:build
LDFLAGS+= ${ICONV_LIB}
+post-patch:
+ ${REINPLACE_CMD} -e "s|get_option('sysconfdir')|'${PREFIX}/etc'|g" \
+ -e "s|get_option('localedir')|'${PREFIX}/share/locale'|g" \
+ ${WRKSRC}/meson.build
+
.include <bsd.port.mk>