From owner-svn-ports-head@freebsd.org Sat May 11 18:52:35 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 646A815A4BB6; Sat, 11 May 2019 18:52:35 +0000 (UTC) (envelope-from arrowd@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED5D26D2F2; Sat, 11 May 2019 18:52:34 +0000 (UTC) (envelope-from arrowd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C98B11F9A3; Sat, 11 May 2019 18:52:34 +0000 (UTC) (envelope-from arrowd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4BIqYec021333; Sat, 11 May 2019 18:52:34 GMT (envelope-from arrowd@FreeBSD.org) Received: (from arrowd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4BIqYxD021332; Sat, 11 May 2019 18:52:34 GMT (envelope-from arrowd@FreeBSD.org) Message-Id: <201905111852.x4BIqYxD021332@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: arrowd set sender to arrowd@FreeBSD.org using -f From: Gleb Popov Date: Sat, 11 May 2019 18:52:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501287 - head/devel/hs-cabal-install X-SVN-Group: ports-head X-SVN-Commit-Author: arrowd X-SVN-Commit-Paths: head/devel/hs-cabal-install X-SVN-Commit-Revision: 501287 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: ED5D26D2F2 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; NEURAL_HAM_SHORT(-0.97)[-0.967,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 May 2019 18:52:35 -0000 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/