git: d7f72f5d3c20 - 2026Q3 - textproc/gitlab-elasticsearch-indexer: fix build as none-root user
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Sep 2026 06:59:20 UTC
The branch 2026Q3 has been updated by mfechner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d7f72f5d3c2091806b83c5292d279365906285f0
commit d7f72f5d3c2091806b83c5292d279365906285f0
Author: Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2026-09-17 16:07:33 +0000
Commit: Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2026-09-18 06:26:18 +0000
textproc/gitlab-elasticsearch-indexer: fix build as none-root user
PR: 298473
PR: 298472
(cherry picked from commit 1c09ee192d1b56389d895fbb29a867f959b1dba7)
---
textproc/gitlab-elasticsearch-indexer/Makefile | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/textproc/gitlab-elasticsearch-indexer/Makefile b/textproc/gitlab-elasticsearch-indexer/Makefile
index e23c115368cb..ce211311ecb6 100644
--- a/textproc/gitlab-elasticsearch-indexer/Makefile
+++ b/textproc/gitlab-elasticsearch-indexer/Makefile
@@ -38,11 +38,13 @@ PLIST_FILES= bin/${PORTNAME}
# resolves that local path relative to it. Extract the subtree from the main
# tarball first (this runs before go-post-fetch).
post-fetch:
- @${MKDIR} ${DISTDIR}/${DIST_SUBDIR}
- cd ${DISTDIR}/${DIST_SUBDIR} && \
- ${TAR} -xf ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.tar.bz2 \
- --strip-components 1 --no-same-owner --no-same-permissions \
- ${DISTNAME}/third_party/icu
+ if [ ! -d "${DISTDIR}/${DIST_SUBDIR}/third_party" ]; then \
+ ${MKDIR} ${DISTDIR}/${DIST_SUBDIR} && \
+ cd "${DISTDIR}/${DIST_SUBDIR}" && \
+ ${TAR} -xf "${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}.tar.bz2" \
+ --strip-components 1 --no-same-owner --no-same-permissions \
+ "${DISTNAME}/third_party/icu/go.mod"; \
+ fi
post-patch:
${REINPLACE_CMD} -e '/libparser-download/d' ${WRKSRC}/Makefile