diff options
author | ache <ache@FreeBSD.org> | 1995-10-16 14:18:22 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-10-16 14:18:22 +0000 |
commit | f67e5c2b2eb39c0c6e7d3027aec06e1109484a1a (patch) | |
tree | 4aaa288aa96f528657dc9724b6cf022bb0bb6d4b /Mk | |
parent | bab1d4d85188a7ebda948d966ea2bde4c107f35e (diff) | |
download | FreeBSD-ports-f67e5c2b2eb39c0c6e7d3027aec06e1109484a1a.zip FreeBSD-ports-f67e5c2b2eb39c0c6e7d3027aec06e1109484a1a.tar.gz |
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.
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index ae30160..8283bc6 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} |