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: jaapb
Date: Wed Jul 11 09:18:28 UTC 2018
Modified Files:
pkgsrc/mk: ocaml.mk
Log Message:
mk/ocaml.mk now handles ulimit commands properly
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 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.20 pkgsrc/mk/ocaml.mk:1.21
--- pkgsrc/mk/ocaml.mk:1.20 Thu May 31 11:22:46 2018
+++ pkgsrc/mk/ocaml.mk Wed Jul 11 09:18:28 2018
@@ -1,4 +1,4 @@
-# $NetBSD: ocaml.mk,v 1.20 2018/05/31 11:22:46 jaapb Exp $
+# $NetBSD: ocaml.mk,v 1.21 2018/07/11 09:18:28 jaapb Exp $
#
# This Makefile fragment handles the common variables used by OCaml packages.
#
@@ -204,7 +204,7 @@ do-configure:
# Redefine build target
do-build:
- ${RUN} cd ${WRKSRC} && \
+ ${RUN} ${_ULIMIT_CMD} cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${OASIS_EXEC} -build ${OASIS_BUILD_ARGS}
# Redefine install target
@@ -219,7 +219,7 @@ do-install:
.if ${OCAML_USE_TOPKG} == "yes"
do-build:
- ${RUN} cd ${WRKSRC} && \
+ ${RUN} ${_ULIMIT_CMD} cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ocaml pkg/pkg.ml build
.endif # topkg
@@ -252,11 +252,13 @@ do-install:
do-build:
.if !empty(JBUILDER_BUILD_PACKAGES)
- ${RUN} cd ${WRKSRC} && jbuilder build -j ${MAKE_JOBS} \
+ ${RUN} ${_ULIMIT_CMD} \
+ cd ${WRKSRC} && jbuilder build -j ${MAKE_JOBS} \
${JBUILDER_BUILD_FLAGS} -p ${JBUILDER_BUILD_PACKAGES:ts,} \
${JBUILDER_BUILD_TARGETS}
.else
- ${RUN} cd ${WRKSRC} && jbuilder build -j ${MAKE_JOBS} \
+ ${RUN} ${_ULIMIT_CMD} \
+ cd ${WRKSRC} && jbuilder build -j ${MAKE_JOBS} \
${JBUILDER_BUILD_FLAGS} ${JBUILDER_BUILD_TARGETS}
.endif
Home |
Main Index |
Thread Index |
Old Index