summaryrefslogtreecommitdiff
path: root/mk/patch
diff options
context:
space:
mode:
authorjlam <jlam>2006-07-21 14:21:28 +0000
committerjlam <jlam>2006-07-21 14:21:28 +0000
commit692c6fe9d40e424cf82875cd8d9f6cbdde77c59e (patch)
tree30b4564d30dbe8759a4bcad799f3da559c994074 /mk/patch
parent79a85853b164082e05f7706ea4e3acf7a2c22ed3 (diff)
downloadpkgsrc-692c6fe9d40e424cf82875cd8d9f6cbdde77c59e.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