Date: Mon, 8 Jul 2024 12:37:33 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: fe95e6b94dc2 - main - Uses/cabal.mk: Remove the --offline flag from the do-build command Message-ID: <202407081237.468CbXu2008906@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=fe95e6b94dc2ce4908578fbe4d697245c750a263 commit fe95e6b94dc2ce4908578fbe4d697245c750a263 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2024-07-08 10:31:54 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-07-08 12:37:25 +0000 Uses/cabal.mk: Remove the --offline flag from the do-build command It is a fatal error now if Cabal is passed --offline and there are VCS dependencies in the cabal.project This change is no-op for Poudriere builds since it shuts down networking for the build stage by default. --- Mk/Uses/cabal.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mk/Uses/cabal.mk b/Mk/Uses/cabal.mk index 2ee0596e0a6e..49d5f06d22bb 100644 --- a/Mk/Uses/cabal.mk +++ b/Mk/Uses/cabal.mk @@ -318,7 +318,7 @@ cabal-pre-configure: . if !target(do-build) do-build: cd ${WRKSRC} && \ - ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${CABAL_HOME_ENV} ${CABAL_CMD} build --offline --disable-benchmarks --disable-tests ${CABAL_WITH_ARGS} ${CABAL_LTO_ARGS} --flags "${CABAL_FLAGS}" ${BUILD_ARGS} ${BUILD_TARGET} + ${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${CABAL_HOME_ENV} ${CABAL_CMD} build --disable-benchmarks --disable-tests ${CABAL_WITH_ARGS} ${CABAL_LTO_ARGS} --flags "${CABAL_FLAGS}" ${BUILD_ARGS} ${BUILD_TARGET} . endif . if !target(do-install)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407081237.468CbXu2008906>