summaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorGary Palmer <gpalmer@FreeBSD.org>1994-12-11 14:50:40 +0000
committerGary Palmer <gpalmer@FreeBSD.org>1994-12-11 14:50:40 +0000
commitdae29c14e41fd426ea5e74e3558a11973f2ca315 (patch)
tree08aef81dbb19eeb711c35ad59ca510c2a05f9f32 /Mk/bsd.port.mk
parentErk. Damn. A hash perfixing a comment was lost somewhere. (diff)
<Sigh> Got the placing of a .if wrong. Fix it.
Notes
Notes: svn path=/head/; revision=548
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 1314f8b60c1a..542900c0e814 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.75 1994/12/10 18:07:38 gpalmer Exp $
+# $Id: bsd.port.mk,v 1.76 1994/12/11 14:12:30 gpalmer Exp $
#
# Please view me with 4 column tabs!
@@ -365,15 +365,17 @@ pre-patch:
patch: pre-patch ${PATCH_COOKIE}
${PATCH_COOKIE}:
- @if [ -d ${PATCHDIR} ]; then \
.if defined(PATCH_DEBUG)
+ @if [ -d ${PATCHDIR} ]; then \
echo "===> Applying patches for ${DISTNAME}" ; \
- for i in ${PATCHDIR}/patch-*; \
+ for i in ${PATCHDIR}/patch-*; do \
echo "===> Applying patch $$i" ; \
- do ${PATCH} ${PATCH_ARGS} < $$i; \
+ ${PATCH} ${PATCH_ARGS} < $$i; \
done; \
fi
+ @${TOUCH} ${TOUCH_FLAGS} ${PATCH_COOKIE}
.else
+ @if [ -d ${PATCHDIR} ]; then \
echo "===> Applying patches for ${DISTNAME}" ; \
for i in ${PATCHDIR}/patch-*; \
do ${PATCH} {$PATCH_ARGS} < $$i; \