| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: bsd.pkg.mk,v 1.2034 2020/01/21 10:56:54 kamil Exp $ | | 1 | # $NetBSD: bsd.pkg.mk,v 1.2035 2020/02/09 22:39:20 rillig 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 |
| @@ -432,28 +432,30 @@ ${FAKEHOMEDIR}: | | | @@ -432,28 +432,30 @@ ${FAKEHOMEDIR}: |
432 | . if !empty(USE_ABI_DEPENDS:M[yY][eE][sS]) | | 432 | . if !empty(USE_ABI_DEPENDS:M[yY][eE][sS]) |
433 | DEPENDS+= ${ABI_DEPENDS} | | 433 | DEPENDS+= ${ABI_DEPENDS} |
434 | BUILD_DEPENDS+= ${BUILD_ABI_DEPENDS} | | 434 | BUILD_DEPENDS+= ${BUILD_ABI_DEPENDS} |
435 | . else | | 435 | . else |
436 | _BUILD_DEFS+= USE_ABI_DEPENDS | | 436 | _BUILD_DEFS+= USE_ABI_DEPENDS |
437 | . endif | | 437 | . endif |
438 | .endif | | 438 | .endif |
439 | | | 439 | |
440 | .if !defined(_PATH_ORIG) | | 440 | .if !defined(_PATH_ORIG) |
441 | _PATH_ORIG:= ${PATH} | | 441 | _PATH_ORIG:= ${PATH} |
442 | MAKEFLAGS+= _PATH_ORIG=${_PATH_ORIG:Q} | | 442 | MAKEFLAGS+= _PATH_ORIG=${_PATH_ORIG:Q} |
443 | .endif | | 443 | .endif |
444 | | | 444 | |
445 | _PATH_COMPONENTS= ${PREPEND_PATH:[-1..1]} ${_PATH_ORIG:C,:, ,} | | 445 | _PATH_COMPONENTS= \ |
446 | PATH= ${_PATH_COMPONENTS:ts:} | | 446 | ${PREPEND_PATH:[-1..1]} \ |
| | | 447 | ${_PATH_ORIG:S, ,__space_in_path__,gW:S,:, ,g} |
| | | 448 | PATH= ${_PATH_COMPONENTS:ts::S,__space_in_path__, ,g} |
447 | | | 449 | |
448 | ################################################################ | | 450 | ################################################################ |
449 | # Many ways to disable a package. | | 451 | # Many ways to disable a package. |
450 | # | | 452 | # |
451 | # Ignore packages that can't be resold if building for a CDROM. | | 453 | # Ignore packages that can't be resold if building for a CDROM. |
452 | # | | 454 | # |
453 | # Don't build a package if it's restricted and we don't want to | | 455 | # Don't build a package if it's restricted and we don't want to |
454 | # get into that. | | 456 | # get into that. |
455 | # | | 457 | # |
456 | # Don't attempt to build packages against X if we don't have X. | | 458 | # Don't attempt to build packages against X if we don't have X. |
457 | # | | 459 | # |
458 | # Don't build a package if it's broken. | | 460 | # Don't build a package if it's broken. |
459 | ################################################################ | | 461 | ################################################################ |