Date: Sun, 14 Jul 2024 10:38:58 GMT From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: bd0711903140 - 2024Q3 - Uses/cabal.mk: Remove the --offline flag from the do-build command Message-ID: <202407141038.46EAcwpN011700@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch 2024Q3 has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=bd0711903140301d392dc44e073067fc4f85115e commit bd0711903140301d392dc44e073067fc4f85115e Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2024-07-08 10:31:54 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2024-07-14 10:38:42 +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. (cherry picked from commit fe95e6b94dc2ce4908578fbe4d697245c750a263) --- 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?202407141038.46EAcwpN011700>