Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 May 2019 18:52:34 +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: r501287 - head/devel/hs-cabal-install
Message-ID:  <201905111852.x4BIqYxD021332@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arrowd
Date: Sat May 11 18:52:34 2019
New Revision: 501287
URL: https://svnweb.freebsd.org/changeset/ports/501287

Log:
  devel/hs-cabal-install: Pass ${MAKE_ENV} in do_build target to support BINARY_ALIAS knob.
  
  cabal.mk machinery already does this, but hs-cabal-install is special, because here we're bootstrapping.
  
  Approved by:	tcberner (mentor, implicit)

Modified:
  head/devel/hs-cabal-install/Makefile

Modified: head/devel/hs-cabal-install/Makefile
==============================================================================
--- head/devel/hs-cabal-install/Makefile	Sat May 11 18:52:00 2019	(r501286)
+++ head/devel/hs-cabal-install/Makefile	Sat May 11 18:52:34 2019	(r501287)
@@ -39,7 +39,9 @@ post-extract:
 
 do-build:
 	cd ${WRKSRC} && \
-		${SETENV} EXTRA_CONFIGURE_OPTS="--disable-library-profiling" HOME=${WRKDIR}/home PREFIX=${WRKDIR}/prefix ${WRKSRC}/bootstrap.sh --no-doc --jobs ${MAKE_JOBS_NUMBER}
+		${SETENV} EXTRA_CONFIGURE_OPTS="--disable-library-profiling" \
+			${MAKE_ENV} HOME=${WRKDIR}/home PREFIX=${WRKDIR}/prefix \
+			${WRKSRC}/bootstrap.sh --no-doc --jobs ${MAKE_JOBS_NUMBER}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKDIR}/prefix/bin/cabal ${STAGEDIR}${PREFIX}/bin/



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