git: 5b0c4143bf72 - main - Uses/cabal.mk: Also create ${CABAL_HOME} before "cabal update"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 20 Mar 2026 15:20:27 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5b0c4143bf72bda41ee6ec3cb413a65b82a67040
commit 5b0c4143bf72bda41ee6ec3cb413a65b82a67040
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-03-20 15:19:58 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-03-20 15:20:01 +0000
Uses/cabal.mk: Also create ${CABAL_HOME} before "cabal update"
Fixes: 87a12423c24377eb05ab20aa44897ecd443c0f9e
---
Mk/Uses/cabal.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/Mk/Uses/cabal.mk b/Mk/Uses/cabal.mk
index c49c819e1276..922db6acf547 100644
--- a/Mk/Uses/cabal.mk
+++ b/Mk/Uses/cabal.mk
@@ -203,6 +203,7 @@ cabal-extract: check-cabal
${RM} -r ${CABAL_HOME}
. endif
@${ECHO_MSG} "===> Fetching Hackage index into ${CABAL_HOME}/.cabal"
+ @${MKDIR} ${CABAL_HOME}
cd ${WRKDIR} && \
${SETENVI} ${WRK_ENV} ${MAKE_ENV} ${CABAL_HOME_ENV} ${CABAL_CMD} update
. if ${_hackage_is_default} == yes