summaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-12-14 05:53:09 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-12-14 05:53:09 +0000
commit595563312d086b294a4c76f5f671d6f603115d04 (patch)
treef7f2d735b0f3abd6c80592b70f4ff64dcb40a950 /Mk/bsd.port.mk
parentUpgrade (diff)
patch: pre-patch ... is wrong, move pre-patch
inside PATCH_COOKIE
Notes
Notes: svn path=/head/; revision=568
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index b4345fe6e965..726e4b7664c6 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain.
#
-# $Id: bsd.port.mk,v 1.79 1994/12/11 20:36:12 gpalmer Exp $
+# $Id: bsd.port.mk,v 1.80 1994/12/12 22:32:30 jmz Exp $
#
# Please view me with 4 column tabs!
@@ -367,9 +367,10 @@ pre-patch:
.endif
.if !target(patch)
-patch: pre-patch ${PATCH_COOKIE}
+patch: ${PATCH_COOKIE}
${PATCH_COOKIE}:
+ @${MAKE} ${.MAKEFLAGS} pre-patch
.if defined(PATCH_DEBUG)
@if [ -d ${PATCHDIR} ]; then \
echo "===> Applying patches for ${DISTNAME}" ; \