Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2021 08:00:03 +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: r567989 - head/Mk/Uses
Message-ID:  <202103100800.12A803vp070986@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arrowd
Date: Wed Mar 10 08:00:02 2021
New Revision: 567989
URL: https://svnweb.freebsd.org/changeset/ports/567989

Log:
  Uses/cabal.mk: Take into account MAKE_JOBS_NUMBERS.

Modified:
  head/Mk/Uses/cabal.mk

Modified: head/Mk/Uses/cabal.mk
==============================================================================
--- head/Mk/Uses/cabal.mk	Wed Mar 10 06:49:57 2021	(r567988)
+++ head/Mk/Uses/cabal.mk	Wed Mar 10 08:00:02 2021	(r567989)
@@ -168,7 +168,7 @@ cabal-post-extract:
 		mv ${package:C/_[0-9]+//} ${WRKSRC}/
 .    endfor
 	mkdir -p ${CABAL_HOME}/.cabal
-	touch ${CABAL_HOME}/.cabal/config
+	echo "jobs: ${MAKE_JOBS_NUMBER}" > ${CABAL_HOME}/.cabal/config
 
 cabal-post-patch:
 .    if ${cabal_ARGS:Mhpack}



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