git: 8d6788c0871e - main - Uses/cabal.mk: Pass same flags to do-build and cabal-extract-deps.
Gleb Popov
arrowd at FreeBSD.org
Fri May 14 19:11:43 UTC 2021
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8d6788c0871e0f0ee69678265c5f4707d28484fb
commit 8d6788c0871e0f0ee69678265c5f4707d28484fb
Author: Gleb Popov <arrowd at FreeBSD.org>
AuthorDate: 2021-05-14 19:10:34 +0000
Commit: Gleb Popov <arrowd at FreeBSD.org>
CommitDate: 2021-05-14 19:11:25 +0000
Uses/cabal.mk: Pass same flags to do-build and cabal-extract-deps.
---
Mk/Uses/cabal.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Mk/Uses/cabal.mk b/Mk/Uses/cabal.mk
index ee632acd1f79..d0bae62f0b76 100644
--- a/Mk/Uses/cabal.mk
+++ b/Mk/Uses/cabal.mk
@@ -148,9 +148,9 @@ cabal-extract-deps:
cd ${WRKSRC} && ${SETENV} HOME=${CABAL_HOME} hpack
. endif
cd ${WRKSRC} && \
- ${SETENV} ${LOCALE_ENV} HOME=${CABAL_HOME} cabal new-configure --flags="${CABAL_FLAGS}" ${CONFIGURE_ARGS}
+ ${SETENV} ${LOCALE_ENV} HOME=${CABAL_HOME} cabal new-configure --disable-benchmarks --disable-tests --flags="${CABAL_FLAGS}" ${CONFIGURE_ARGS}
cd ${WRKSRC} && \
- ${SETENV} ${LOCALE_ENV} HOME=${CABAL_HOME} cabal new-build --dependencies-only
+ ${SETENV} ${LOCALE_ENV} HOME=${CABAL_HOME} cabal new-build --disable-benchmarks --disable-tests --dependencies-only ${BUILD_ARGS}
# Generates USE_CABAL= ... line ready to be pasted into the port based on artifacts of cabal-extract-deps.
make-use-cabal:
More information about the dev-commits-ports-all
mailing list