pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/tools If we're using devel/patch, then we know that...
details: https://anonhg.NetBSD.org/pkgsrc/rev/32113b3b1d60
branches: trunk
changeset: 501853:32113b3b1d60
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Sun Oct 30 17:32:07 2005 +0000
description:
If we're using devel/patch, then we know that we can create backup files
and how, so set this.
Fixes problems observed under (at least) IRIX, where otherwise a call to
gpatch ${_PATCH_BACKUP_ARG} .orig <patch
would fail, as ${_PATCH_BACKUP_ARG} would be the empty string.
diffstat:
mk/tools/replace.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (18 lines):
diff -r 9d8c9807ae2d -r 32113b3b1d60 mk/tools/replace.mk
--- a/mk/tools/replace.mk Sun Oct 30 16:55:17 2005 +0000
+++ b/mk/tools/replace.mk Sun Oct 30 17:32:07 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.129 2005/10/16 19:38:05 schwarz Exp $
+# $NetBSD: replace.mk,v 1.130 2005/10/30 17:32:07 jschauma Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -861,6 +861,8 @@
TOOLS_CREATE+= patch
TOOLS_FIND_PREFIX+= TOOLS_PREFIX.patch=patch
TOOLS_PATH.patch= ${TOOLS_PREFIX.patch}/bin/gpatch
+_PATCH_CAN_BACKUP= yes
+_PATCH_BACKUP_ARG?= -b -V simple -z
. endif
.endif
Home |
Main Index |
Thread Index |
Old Index