pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Use MAKE_ENV when calling dune in ocaml.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b66150793900
branches:  trunk
changeset: 427827:b66150793900
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Tue Apr 21 11:23:29 2020 +0000

description:
Use MAKE_ENV when calling dune in ocaml.mk

diffstat:

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

diffs (19 lines):

diff -r 349f9a0bd179 -r b66150793900 mk/ocaml.mk
--- a/mk/ocaml.mk       Tue Apr 21 11:22:06 2020 +0000
+++ b/mk/ocaml.mk       Tue Apr 21 11:23:29 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ocaml.mk,v 1.27 2020/01/17 09:19:03 jaapb Exp $
+# $NetBSD: ocaml.mk,v 1.28 2020/04/21 11:23:29 jaapb Exp $
 #
 # This Makefile fragment handles the common variables used by OCaml packages.
 #
@@ -294,7 +294,8 @@
 do-build:
 .if !empty(DUNE_BUILD_PACKAGES)
        ${RUN} ${_ULIMIT_CMD} \
-               cd ${WRKSRC} && dune build -j ${MAKE_JOBS:U1} \
+               cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
+               dune build -j ${MAKE_JOBS:U1} \
                ${DUNE_BUILD_FLAGS} -p ${DUNE_BUILD_PACKAGES:ts,} \
                ${DUNE_BUILD_TARGETS}
 .else



Home | Main Index | Thread Index | Old Index