diff options
author | jperkin <jperkin@pkgsrc.org> | 2020-03-26 12:23:54 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2020-03-26 12:23:54 +0000 |
commit | 916067604001fa06ad29978a84aa682e80f9d2a1 (patch) | |
tree | 2b11b1b929ca8178de6b69e34d48fcf4be9293d4 /mk | |
parent | 161b3ec52e8fd4fa11272412cd8fb1fa3118a471 (diff) | |
download | pkgsrc-916067604001fa06ad29978a84aa682e80f9d2a1.tar.gz |
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 (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 85bec40898c..b0a8b0bd089 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -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 @@ _ZERO_FILESIZE_P= ${AWK} 'END { exit (NR > 0) ? 1 : 0; }' _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 |