git: cea12ee77c46 - main - devel/uv: Search in LOCALBASE for config files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 12 Nov 2025 10:45:13 UTC
The branch main has been updated by michaelo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cea12ee77c46634ece98d15e2eedb2ac885175aa
commit cea12ee77c46634ece98d15e2eedb2ac885175aa
Author: Michael Osipov <michaelo@FreeBSD.org>
AuthorDate: 2025-11-11 17:27:27 +0000
Commit: Michael Osipov <michaelo@FreeBSD.org>
CommitDate: 2025-11-12 10:44:36 +0000
devel/uv: Search in LOCALBASE for config files
uv searches by default in /etc for config files, replace with LOCALBASE.
Approved by: yuri (maintainer)
Differential Revision: https://reviews.freebsd.org/D53698
---
devel/uv/Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/devel/uv/Makefile b/devel/uv/Makefile
index 2675c4692d38..dfa81bf8745c 100644
--- a/devel/uv/Makefile
+++ b/devel/uv/Makefile
@@ -1,6 +1,6 @@
PORTNAME= uv
DISTVERSION= 0.9.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
@@ -41,6 +41,12 @@ PLIST_FILES= ${PROGS:S/^/bin\//}
PORTSCOUT= limit:.*\..*$$ # prevent tags like perma-39
+post-patch:
+ @${REINPLACE_CMD} -e 's|/etc/uv|${PREFIX}/etc/uv|g' \
+ -e 's|/etc/xdg|${PREFIX}/etc/xdg|g' \
+ ${WRKSRC}/crates/uv-dirs/src/lib.rs \
+ ${WRKSRC}/crates/uv-settings/src/settings.rs
+
do-install:
# workaround for error: found a virtual manifest at `xx` instead of a package manifest
.for p in ${PROGS}