git: e66c06ea09a8 - main - Uses/cabal.mk: Pass --no-semaphore to cabal
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 May 2025 07:35:05 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e66c06ea09a8735ba77a2f191f9bf42659f89727
commit e66c06ea09a8735ba77a2f191f9bf42659f89727
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-05-13 06:46:39 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-05-13 07:34:32 +0000
Uses/cabal.mk: Pass --no-semaphore to cabal
This avoids "semOpen: invalid argument" errors when sem.ko isn't loaded
---
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 49d5f06d22bb..d52d3e4bfb27 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 --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 --no-semaphore --disable-benchmarks --disable-tests ${CABAL_WITH_ARGS} ${CABAL_LTO_ARGS} --flags "${CABAL_FLAGS}" ${BUILD_ARGS} ${BUILD_TARGET}
. endif
. if !target(do-install)