summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-10-16 14:18:22 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-10-16 14:18:22 +0000
commitacd56316e73b6a412645911939a57ce9a65e0c93 (patch)
tree3bbe6c15153d6700fea642707d1b55c02ccaebef /Mk
parentUpgrade to 2.2.1 (diff)
Fix NO_EXTRACT case: build missing WRKDIR
Previous variant always fails on touch work/.extract_cookie (or next following touches) because work directory not exists.
Notes
Notes: svn path=/head/; revision=2337
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index ae301608c862..8283bc64bf1c 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.165.2.2 1995/10/05 20:58:10 davidg Exp $
+# $Id: bsd.port.mk,v 1.183 1995/10/11 09:25:58 asami Exp $
#
# Please view me with 4 column tabs!
@@ -429,6 +429,8 @@ is_depended: ${IS_DEPENDED_TARGET}
.if defined(NO_EXTRACT) && !target(extract)
extract: checksum
+ @/bin/rm -rf ${WRKDIR}
+ @/bin/mkdir -p ${WRKDIR}
@${TOUCH} ${TOUCH_FLAGS} ${EXTRACT_COOKIE}
checksum: fetch
@${DO_NADA}