diff --git a/devel/uv/Makefile b/devel/uv/Makefile --- 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 @@ 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}