| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: replace.mk,v 1.218 2009/02/05 18:44:43 joerg Exp $ | | 1 | # $NetBSD: replace.mk,v 1.219 2009/04/21 21:26:13 joerg Exp $ |
2 | # | | 2 | # |
3 | # Copyright (c) 2005 The NetBSD Foundation, Inc. | | 3 | # Copyright (c) 2005 The NetBSD Foundation, Inc. |
4 | # All rights reserved. | | 4 | # All rights reserved. |
5 | # | | 5 | # |
6 | # This code is derived from software contributed to The NetBSD Foundation | | 6 | # This code is derived from software contributed to The NetBSD Foundation |
7 | # by Johnny C. Lam. | | 7 | # by Johnny C. Lam. |
8 | # | | 8 | # |
9 | # Redistribution and use in source and binary forms, with or without | | 9 | # Redistribution and use in source and binary forms, with or without |
10 | # modification, are permitted provided that the following conditions | | 10 | # modification, are permitted provided that the following conditions |
11 | # are met: | | 11 | # are met: |
12 | # 1. Redistributions of source code must retain the above copyright | | 12 | # 1. Redistributions of source code must retain the above copyright |
13 | # notice, this list of conditions and the following disclaimer. | | 13 | # notice, this list of conditions and the following disclaimer. |
14 | # 2. Redistributions in binary form must reproduce the above copyright | | 14 | # 2. Redistributions in binary form must reproduce the above copyright |
| @@ -632,32 +632,32 @@ TOOLS_PATH.mtree= ${TOOLS_PREFIX.mtree} | | | @@ -632,32 +632,32 @@ TOOLS_PATH.mtree= ${TOOLS_PREFIX.mtree} |
632 | MAKEFLAGS+= TOOLS_IGNORE.openssl= | | 632 | MAKEFLAGS+= TOOLS_IGNORE.openssl= |
633 | . elif !empty(_TOOLS_USE_PKGSRC.openssl:M[yY][eE][sS]) | | 633 | . elif !empty(_TOOLS_USE_PKGSRC.openssl:M[yY][eE][sS]) |
634 | TOOLS_DEPENDS.openssl?= openssl>=0.9.6:../../security/openssl | | 634 | TOOLS_DEPENDS.openssl?= openssl>=0.9.6:../../security/openssl |
635 | TOOLS_CREATE+= openssl | | 635 | TOOLS_CREATE+= openssl |
636 | TOOLS_FIND_PREFIX+= TOOLS_PREFIX.openssl=openssl | | 636 | TOOLS_FIND_PREFIX+= TOOLS_PREFIX.openssl=openssl |
637 | TOOLS_PATH.openssl= ${TOOLS_PREFIX.openssl}/bin/openssl | | 637 | TOOLS_PATH.openssl= ${TOOLS_PREFIX.openssl}/bin/openssl |
638 | . endif | | 638 | . endif |
639 | .endif | | 639 | .endif |
640 | | | 640 | |
641 | .if !defined(TOOLS_IGNORE.patch) && !empty(_USE_TOOLS:Mpatch) | | 641 | .if !defined(TOOLS_IGNORE.patch) && !empty(_USE_TOOLS:Mpatch) |
642 | . if !empty(PKGPATH:Mdevel/patch) | | 642 | . if !empty(PKGPATH:Mdevel/patch) |
643 | MAKEFLAGS+= TOOLS_IGNORE.patch= | | 643 | MAKEFLAGS+= TOOLS_IGNORE.patch= |
644 | . elif !empty(_TOOLS_USE_PKGSRC.patch:M[yY][eE][sS]) | | 644 | . elif !empty(_TOOLS_USE_PKGSRC.patch:M[yY][eE][sS]) |
645 | TOOLS_DEPENDS.patch?= patch>=2.2:../../devel/patch | | 645 | TOOLS_DEPENDS.patch?= nbpatch-[0-9]*:../../devel/nbpatch |
646 | TOOLS_CREATE+= patch | | 646 | TOOLS_CREATE+= patch |
647 | TOOLS_FIND_PREFIX+= TOOLS_PREFIX.patch=patch | | 647 | TOOLS_FIND_PREFIX+= TOOLS_PREFIX.patch=nbpatch |
648 | TOOLS_PATH.patch= ${TOOLS_PREFIX.patch}/bin/gpatch | | 648 | TOOLS_PATH.patch= ${TOOLS_PREFIX.patch}/bin/nbpatch |
649 | _PATCH_CAN_BACKUP= yes | | 649 | _PATCH_CAN_BACKUP= yes |
650 | _PATCH_BACKUP_ARG?= -b -V simple -z | | 650 | _PATCH_BACKUP_ARG?= -V simple -z |
651 | . endif | | 651 | . endif |
652 | .endif | | 652 | .endif |
653 | | | 653 | |
654 | .if !defined(TOOLS_IGNORE.pax) && !empty(_USE_TOOLS:Mpax) | | 654 | .if !defined(TOOLS_IGNORE.pax) && !empty(_USE_TOOLS:Mpax) |
655 | . if !empty(PKGPATH:Marchivers/pax) | | 655 | . if !empty(PKGPATH:Marchivers/pax) |
656 | MAKEFLAGS+= TOOLS_IGNORE.pax= | | 656 | MAKEFLAGS+= TOOLS_IGNORE.pax= |
657 | . elif !empty(_TOOLS_USE_PKGSRC.pax:M[yY][eE][sS]) | | 657 | . elif !empty(_TOOLS_USE_PKGSRC.pax:M[yY][eE][sS]) |
658 | TOOLS_DEPENDS.pax?= pax>=20040802:../../archivers/pax | | 658 | TOOLS_DEPENDS.pax?= pax>=20040802:../../archivers/pax |
659 | TOOLS_CREATE+= pax | | 659 | TOOLS_CREATE+= pax |
660 | TOOLS_FIND_PREFIX+= TOOLS_PREFIX.pax=pax | | 660 | TOOLS_FIND_PREFIX+= TOOLS_PREFIX.pax=pax |
661 | TOOLS_PATH.pax= ${TOOLS_PREFIX.pax}/bin/pax | | 661 | TOOLS_PATH.pax= ${TOOLS_PREFIX.pax}/bin/pax |
662 | . endif | | 662 | . endif |
663 | .endif | | 663 | .endif |