Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2019 18:44:12 +0000 (UTC)
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505861 - head/Mk/Uses
Message-ID:  <201907041844.x64IiCUK002307@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907041844.x64IiCUK002307>