Date: Wed, 19 Nov 2025 10:17:03 +0000 From: Tijl Coosemans <tijl@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b5a68c4da678 - main - print/hplip-plugin: Fix fetch under poudriere Message-ID: <691d991f.3d9ed.44dc2be4@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by tijl: URL: https://cgit.FreeBSD.org/ports/commit/?id=b5a68c4da678db1a218146edf5a90ed66d572146 commit b5a68c4da678db1a218146edf5a90ed66d572146 Author: Tijl Coosemans <tijl@FreeBSD.org> AuthorDate: 2025-11-19 09:38:37 +0000 Commit: Tijl Coosemans <tijl@FreeBSD.org> CommitDate: 2025-11-19 10:16:49 +0000 print/hplip-plugin: Fix fetch under poudriere Don't run fetch if the distfile exists. It only checked if the download completed in that case but under poudriere there isn't always network access. Reported by: vishwin --- print/hplip-plugin/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/print/hplip-plugin/Makefile b/print/hplip-plugin/Makefile index 34c4d305fa75..61b9602efc78 100644 --- a/print/hplip-plugin/Makefile +++ b/print/hplip-plugin/Makefile @@ -43,7 +43,8 @@ LINARCH= x86_32 .endif do-fetch: - @for s in ${MASTER_SITES}; do ${SETENV} ${FETCH_ENV} ${FETCH_CMD} \ + @[ -e ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ] \ + || for s in ${MASTER_SITES}; do ${SETENV} ${FETCH_ENV} ${FETCH_CMD} \ --user-agent="Mozilla/5.0 (FreeBSD x86_64) Firefox/145.0" \ -o ${DISTDIR} $${s}${DISTNAME}${EXTRACT_SUFX} && break; donehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?691d991f.3d9ed.44dc2be4>
