aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-10-16 14:27:20 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-10-16 14:27:20 +0000
commit77a9ab5566e272a46761e09422d12fced6ec0cdd (patch)
treeffe4bc2d86d6e875e8bec1dab2c143132337a20c /Mk
parentacd56316e73b6a412645911939a57ce9a65e0c93 (diff)
downloadports-77a9ab5566e272a46761e09422d12fced6ec0cdd.tar.gz
ports-77a9ab5566e272a46761e09422d12fced6ec0cdd.zip
Add NO_FETCH handling in the similar way as other NO_* targets does
Notes
Notes: svn path=/head/; revision=2338
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 8283bc64bf1c..f921f4107d0a 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.183 1995/10/11 09:25:58 asami Exp $
+# $Id: bsd.port.mk,v 1.184 1995/10/16 14:18:22 ache Exp $
#
# Please view me with 4 column tabs!
@@ -427,6 +427,10 @@ is_depended: ${IS_DEPENDED_TARGET}
# override from an individual Makefile.
################################################################
+.if defined(NO_FETCH) && !target(fetch)
+fetch:
+ @${DO_NADA}
+.endif
.if defined(NO_EXTRACT) && !target(extract)
extract: checksum
@/bin/rm -rf ${WRKDIR}