svn commit: r505861 - head/Mk/Uses

Gleb Popov arrowd at FreeBSD.org
Thu Jul 4 18:44:13 UTC 2019


Author: arrowd
Date: Thu Jul  4 18:44:11 2019
New Revision: 505861
URL: https://svnweb.freebsd.org/changeset/ports/505861

Log:
  cabal.mk: Pass `--disable-benchmarks --disable-tests` in do-build rule.
  This cuts down amount of required dependencies and decreases build time.

Modified:
  head/Mk/Uses/cabal.mk

Modified: head/Mk/Uses/cabal.mk
==============================================================================
--- head/Mk/Uses/cabal.mk	Thu Jul  4 18:13:54 2019	(r505860)
+++ head/Mk/Uses/cabal.mk	Thu Jul  4 18:44:11 2019	(r505861)
@@ -132,7 +132,7 @@ cabal-post-extract:
 .    if !target(do-build)
 do-build:
 	cd ${WRKSRC} && \
-		${SETENV} ${MAKE_ENV} HOME=${CABAL_HOME} cabal new-build --offline --flags "${CABAL_FLAGS}" ${BUILD_ARGS} ${BUILD_TARGET}
+		${SETENV} ${MAKE_ENV} HOME=${CABAL_HOME} cabal new-build --offline --disable-benchmarks --disable-tests --flags "${CABAL_FLAGS}" ${BUILD_ARGS} ${BUILD_TARGET}
 .    endif
 
 .    if !target(do-install)


More information about the svn-ports-head mailing list