pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk mk: Support undefined UNLIMIT_RESOURCES.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f7fe42867c7b
branches:  trunk
changeset: 426110:f7fe42867c7b
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Mar 26 12:23:54 2020 +0000

description:
mk: Support undefined UNLIMIT_RESOURCES.

Currently virtualsize is only defined for NetBSD, breaking builds that use it
on any other platform.  Adding defaults for all other platforms should be done
at some point, this at least unbreaks package builds for now and provides a
safer default for any future additions.

diffstat:

 mk/bsd.pkg.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 0f740bd46665 -r f7fe42867c7b mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Thu Mar 26 12:22:23 2020 +0000
+++ b/mk/bsd.pkg.mk     Thu Mar 26 12:23:54 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.2035 2020/02/09 22:39:20 rillig Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.2036 2020/03/26 12:23:54 jperkin Exp $
 #
 # This file is in the public domain.
 #
@@ -231,7 +231,7 @@
 _NONZERO_FILESIZE_P=   ${AWK} 'END { exit (NR > 0) ? 0 : 1; }'
 
 # Automatically increase process limit where necessary for building.
-_ULIMIT_CMD=           ${UNLIMIT_RESOURCES:@_lim_@${ULIMIT_CMD_${_lim_}};@}
+_ULIMIT_CMD=           ${UNLIMIT_RESOURCES:@_lim_@${ULIMIT_CMD_${_lim_}:U\:};@}
 
 _NULL_COOKIE=          ${WRKDIR}/.null
 



Home | Main Index | Thread Index | Old Index