Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 May 2026 05:53:00 +0000
From:      Matthias Fechner <mfechner@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Juraj Lutter <otis@FreeBSD.org>
Subject:   git: b366db523e47 - main - devel/glab: fix poudriere build as none-root user
Message-ID:  <69f5913c.27496.43794d29@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by mfechner:

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

commit b366db523e470f6bb9d5b2f182ba8f4333cea989
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2026-05-02 05:52:02 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2026-05-02 05:52:02 +0000

    devel/glab: fix poudriere build as none-root user
---
 devel/glab/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/glab/Makefile b/devel/glab/Makefile
index 67edbf0f717b..85c3c27001ad 100644
--- a/devel/glab/Makefile
+++ b/devel/glab/Makefile
@@ -52,7 +52,7 @@ pre-build:
 
 post-install-COMPLETIONS-on:
 .for _shell in bash fish zsh
-	${GO_WRKDIR_BIN}/${PORTNAME} completion -s ${_shell} \
+	${SETENV} HOME=${WRKDIR} ${GO_WRKDIR_BIN}/${PORTNAME} completion -s ${_shell} \
 		>${STAGEDIR}${PREFIX}/${COMPLETIONS_PLIST_FILES:M*${_shell}*}
 .endfor
 
@@ -62,7 +62,7 @@ post-install-DOCS-on:
 		${STAGEDIR}${DOCSDIR}
 
 post-install-MANPAGES-on:
-	(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} run \
+	(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} HOME=${WRKDIR} ${GO_CMD} run \
 		./cmd/gen-docs --manpage --path ${STAGEDIR}${PREFIX}/share/man/man1)
 
 .include <bsd.port.mk>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f5913c.27496.43794d29>