pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/go Support UNLIMIT_RESOURCES for go packages.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7d6b560eadab
branches:  trunk
changeset: 426381:7d6b560eadab
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Mar 30 19:33:13 2020 +0000

description:
Support UNLIMIT_RESOURCES for go packages.

diffstat:

 lang/go/go-package.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r d145b83a4e6c -r 7d6b560eadab lang/go/go-package.mk
--- a/lang/go/go-package.mk     Mon Mar 30 19:32:24 2020 +0000
+++ b/lang/go/go-package.mk     Mon Mar 30 19:33:13 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: go-package.mk,v 1.24 2020/02/18 18:02:58 maya Exp $
+# $NetBSD: go-package.mk,v 1.25 2020/03/30 19:33:13 joerg Exp $
 #
 # This file implements common logic for compiling Go programs in pkgsrc.
 #
@@ -79,12 +79,12 @@
 
 .if !target(do-build)
 do-build:
-       ${RUN} ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} install -v ${GO_BUILD_PATTERN}
+       ${RUN} ${_ULIMIT_CMD} ${PKGSRC_SETENV} ${MAKE_ENV} ${GO} install -v ${GO_BUILD_PATTERN}
 .endif
 
 .if !target(do-test)
 do-test:
-       ${RUN} ${PKGSRC_SETENV} ${TEST_ENV} ${MAKE_ENV} ${GO} test -v ${GO_BUILD_PATTERN}
+       ${RUN} ${_ULIMIT_CMD} ${PKGSRC_SETENV} ${TEST_ENV} ${MAKE_ENV} ${GO} test -v ${GO_BUILD_PATTERN}
 .endif
 
 .if !target(do-install)



Home | Main Index | Thread Index | Old Index