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/6e261a860407
branches:  trunk
changeset: 426366:6e261a860407
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 3f80aa466603 -r 6e261a860407 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