pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   tnn
Date:           Fri Jul 26 09:59:27 UTC 2019

Modified Files:
        pkgsrc/mk: ocaml.mk

Log Message:
mk/ocaml.mk: don't assume MAKE_JOBS is defined


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/mk/ocaml.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/ocaml.mk
diff -u pkgsrc/mk/ocaml.mk:1.25 pkgsrc/mk/ocaml.mk:1.26
--- pkgsrc/mk/ocaml.mk:1.25     Mon Jul 15 09:36:26 2019
+++ pkgsrc/mk/ocaml.mk  Fri Jul 26 09:59:27 2019
@@ -1,4 +1,4 @@
-# $NetBSD: ocaml.mk,v 1.25 2019/07/15 09:36:26 jaapb Exp $
+# $NetBSD: ocaml.mk,v 1.26 2019/07/26 09:59:27 tnn Exp $
 #
 # This Makefile fragment handles the common variables used by OCaml packages.
 #
@@ -270,12 +270,12 @@ do-install:
 do-build:
 .if !empty(JBUILDER_BUILD_PACKAGES)
        ${RUN} ${_ULIMIT_CMD} \
-               cd ${WRKSRC} && jbuilder build -j ${MAKE_JOBS} \
+               cd ${WRKSRC} && jbuilder build -j ${MAKE_JOBS:U1} \
                ${JBUILDER_BUILD_FLAGS} -p ${JBUILDER_BUILD_PACKAGES:ts,} \
                ${JBUILDER_BUILD_TARGETS}
 .else
        ${RUN} ${_ULIMIT_CMD} \
-               cd ${WRKSRC} && jbuilder build -j ${MAKE_JOBS} \
+               cd ${WRKSRC} && jbuilder build -j ${MAKE_JOBS:U1} \
                ${JBUILDER_BUILD_FLAGS} ${JBUILDER_BUILD_TARGETS}
 .endif
 
@@ -289,12 +289,12 @@ do-build:
 do-build:
 .if !empty(DUNE_BUILD_PACKAGES)
        ${RUN} ${_ULIMIT_CMD} \
-               cd ${WRKSRC} && dune build -j ${MAKE_JOBS} \
+               cd ${WRKSRC} && dune build -j ${MAKE_JOBS:U1} \
                ${DUNE_BUILD_FLAGS} -p ${DUNE_BUILD_PACKAGES:ts,} \
                ${DUNE_BUILD_TARGETS}
 .else
        ${RUN} ${_ULIMIT_CMD} \
-               cd ${WRKSRC} && dune build --profile release -j ${MAKE_JOBS} \
+               cd ${WRKSRC} && dune build --profile release -j ${MAKE_JOBS:U1} \
                ${DUNE_BUILD_FLAGS} ${DUNE_BUILD_TARGETS}
 .endif
 



Home | Main Index | Thread Index | Old Index