diff options
author | joerg <joerg@pkgsrc.org> | 2009-04-21 21:26:13 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-04-21 21:26:13 +0000 |
commit | b992bae8f6f8550112764ade4bc3b81d3c1a93b3 (patch) | |
tree | b43df22319b1a59ddfc591b8b597247955c719bc /mk | |
parent | 9b622f53e6cc6ae4da11bd9c6977d09c9192acbf (diff) | |
download | pkgsrc-b992bae8f6f8550112764ade4bc3b81d3c1a93b3.tar.gz |
Use nbpatch, not gpatch, when the platform is missing it.
The former is known to have less issues like being able to deal with
asymmetric context and no line limits.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools/replace.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk index b4bee30b54c..641e0e9c892 100644 --- a/mk/tools/replace.mk +++ b/mk/tools/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.218 2009/02/05 18:44:43 joerg Exp $ +# $NetBSD: replace.mk,v 1.219 2009/04/21 21:26:13 joerg Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -642,12 +642,12 @@ TOOLS_PATH.openssl= ${TOOLS_PREFIX.openssl}/bin/openssl . if !empty(PKGPATH:Mdevel/patch) MAKEFLAGS+= TOOLS_IGNORE.patch= . elif !empty(_TOOLS_USE_PKGSRC.patch:M[yY][eE][sS]) -TOOLS_DEPENDS.patch?= patch>=2.2:../../devel/patch +TOOLS_DEPENDS.patch?= nbpatch-[0-9]*:../../devel/nbpatch TOOLS_CREATE+= patch -TOOLS_FIND_PREFIX+= TOOLS_PREFIX.patch=patch -TOOLS_PATH.patch= ${TOOLS_PREFIX.patch}/bin/gpatch +TOOLS_FIND_PREFIX+= TOOLS_PREFIX.patch=nbpatch +TOOLS_PATH.patch= ${TOOLS_PREFIX.patch}/bin/nbpatch _PATCH_CAN_BACKUP= yes -_PATCH_BACKUP_ARG?= -b -V simple -z +_PATCH_BACKUP_ARG?= -V simple -z . endif .endif |