pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk In Haskell packages, set MAKE_ENV while running ./S...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/17cac202945a
branches:  trunk
changeset: 414626:17cac202945a
user:      riastradh <riastradh%pkgsrc.org@localhost>
date:      Mon Mar 30 17:51:07 2020 +0000

description:
In Haskell packages, set MAKE_ENV while running ./Setup build.

diffstat:

 mk/haskell.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 93d3347d83db -r 17cac202945a mk/haskell.mk
--- a/mk/haskell.mk     Mon Mar 30 17:17:58 2020 +0000
+++ b/mk/haskell.mk     Mon Mar 30 17:51:07 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: haskell.mk,v 1.17 2020/03/30 16:51:53 riastradh Exp $
+# $NetBSD: haskell.mk,v 1.18 2020/03/30 17:51:07 riastradh Exp $
 #
 # This Makefile fragment handles Haskell Cabal packages.
 # See: http://www.haskell.org/cabal/
@@ -245,6 +245,7 @@
 # Define build target. _MAKE_JOBS_N is defined in build/build.mk
 do-build:
        ${RUN} ${_ULIMIT_CMD} cd ${WRKSRC:Q} && \
+               ${SETENV} ${MAKE_ENV} \
                ./Setup build ${PKG_VERBOSE:D-v} -j${_MAKE_JOBS_N}
 .if ${HASKELL_ENABLE_HADDOCK_DOCUMENTATION} == "yes"
        ${RUN} ${_ULIMIT_CMD} cd ${WRKSRC:Q} && \



Home | Main Index | Thread Index | Old Index