summaryrefslogtreecommitdiff
path: root/mk/patch
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-07-21 14:21:28 +0000
committerjlam <jlam@pkgsrc.org>2006-07-21 14:21:28 +0000
commit4011c5cff2e356e5371e70f8c4ead23e2afaefd3 (patch)
tree30b4564d30dbe8759a4bcad799f3da559c994074 /mk/patch
parent3d2f631bb537d47b98fe91d5f95faec0ecd0b8ee (diff)
downloadpkgsrc-4011c5cff2e356e5371e70f8c4ead23e2afaefd3.tar.gz
Rearrange sequence so that "wrapper" occurs between "tools" and
"extract". This allows all user-definable targets (pre-*, do-*, post-*) to have access to the wrapper scripts.
Diffstat (limited to 'mk/patch')
-rw-r--r--mk/patch/patch.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/patch/patch.mk b/mk/patch/patch.mk
index 259f1f5f153..b645ee61538 100644
--- a/mk/patch/patch.mk
+++ b/mk/patch/patch.mk
@@ -1,4 +1,4 @@
-# $NetBSD: patch.mk,v 1.9 2006/07/13 14:02:34 jlam Exp $
+# $NetBSD: patch.mk,v 1.10 2006/07/21 14:21:28 jlam Exp $
#
# The following variables may be set in a package Makefile and control
# how pkgsrc patches are applied.
@@ -63,8 +63,10 @@ _PATCH_TARGETS+= release-patch-lock
. if exists(${_COOKIE.patch})
patch:
@${DO_NADA}
-. else
+. elif exists(${_COOKIE.barrier})
patch: ${_PATCH_TARGETS}
+. else
+patch: barrier
. endif
.endif