| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: bsd.pkg.mk,v 1.2035 2020/02/09 22:39:20 rillig Exp $ | | 1 | # $NetBSD: bsd.pkg.mk,v 1.2036 2020/03/26 12:23:54 jperkin Exp $ |
2 | # | | 2 | # |
3 | # This file is in the public domain. | | 3 | # This file is in the public domain. |
4 | # | | 4 | # |
5 | # Please see the pkgsrc/doc/guide manual for details on the | | 5 | # Please see the pkgsrc/doc/guide manual for details on the |
6 | # variables used in this make file template. | | 6 | # variables used in this make file template. |
7 | # | | 7 | # |
8 | # Default sequence for "all" is: | | 8 | # Default sequence for "all" is: |
9 | # | | 9 | # |
10 | # bootstrap-depends | | 10 | # bootstrap-depends |
11 | # fetch | | 11 | # fetch |
12 | # checksum | | 12 | # checksum |
13 | # depends | | 13 | # depends |
14 | # tools | | 14 | # tools |
| @@ -221,27 +221,27 @@ _BUILD_DEFS+= PKG_OPTIONS | | | @@ -221,27 +221,27 @@ _BUILD_DEFS+= PKG_OPTIONS |
221 | .if defined(MULTI) | | 221 | .if defined(MULTI) |
222 | _BUILD_DEFS+= MULTI | | 222 | _BUILD_DEFS+= MULTI |
223 | .endif | | 223 | .endif |
224 | | | 224 | |
225 | # ZERO_FILESIZE_P exits with a successful return code if the given file | | 225 | # ZERO_FILESIZE_P exits with a successful return code if the given file |
226 | # has zero length. | | 226 | # has zero length. |
227 | # NONZERO_FILESIZE_P exits with a successful return code if the given file | | 227 | # NONZERO_FILESIZE_P exits with a successful return code if the given file |
228 | # has nonzero length. | | 228 | # has nonzero length. |
229 | # | | 229 | # |
230 | _ZERO_FILESIZE_P= ${AWK} 'END { exit (NR > 0) ? 1 : 0; }' | | 230 | _ZERO_FILESIZE_P= ${AWK} 'END { exit (NR > 0) ? 1 : 0; }' |
231 | _NONZERO_FILESIZE_P= ${AWK} 'END { exit (NR > 0) ? 0 : 1; }' | | 231 | _NONZERO_FILESIZE_P= ${AWK} 'END { exit (NR > 0) ? 0 : 1; }' |
232 | | | 232 | |
233 | # Automatically increase process limit where necessary for building. | | 233 | # Automatically increase process limit where necessary for building. |
234 | _ULIMIT_CMD= ${UNLIMIT_RESOURCES:@_lim_@${ULIMIT_CMD_${_lim_}};@} | | 234 | _ULIMIT_CMD= ${UNLIMIT_RESOURCES:@_lim_@${ULIMIT_CMD_${_lim_}:U\:};@} |
235 | | | 235 | |
236 | _NULL_COOKIE= ${WRKDIR}/.null | | 236 | _NULL_COOKIE= ${WRKDIR}/.null |
237 | | | 237 | |
238 | # Miscellaneous overridable commands: | | 238 | # Miscellaneous overridable commands: |
239 | SHCOMMENT?= ${ECHO_MSG} >/dev/null '***' | | 239 | SHCOMMENT?= ${ECHO_MSG} >/dev/null '***' |
240 | | | 240 | |
241 | LIBABISUFFIX?= | | 241 | LIBABISUFFIX?= |
242 | | | 242 | |
243 | TOUCH_FLAGS?= -f | | 243 | TOUCH_FLAGS?= -f |
244 | | | 244 | |
245 | # A few aliases for *-install targets | | 245 | # A few aliases for *-install targets |
246 | INSTALL= ${TOOLS_INSTALL} # XXX override sys.mk | | 246 | INSTALL= ${TOOLS_INSTALL} # XXX override sys.mk |
247 | INSTALL_PROGRAM?= \ | | 247 | INSTALL_PROGRAM?= \ |