summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorfredb <fredb>2002-03-06 11:37:28 +0000
committerfredb <fredb>2002-03-06 11:37:28 +0000
commitb6b887b4fd2bfc367fab44f3d73cb1dac23c2de9 (patch)
tree0559c4115900ee4e6a679e9dcd815996c4389bef /mk
parent27be697dea76c6a5db6fb659679d023e5c9cf5a2 (diff)
downloadpkgsrc-b6b887b4fd2bfc367fab44f3d73cb1dac23c2de9.tar.gz
Garbage collect "check-depends", as discussed on tech-pkg. The oddly named
"check-depends" target is what used to install dependencies before fetching any files. ("install-depends" continues to perform that function for the other main targets.)
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk16
1 files changed, 2 insertions, 14 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index ff70c98835e..3e9efbf8b4a 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.941 2002/03/04 19:41:03 fredb Exp $
+# $NetBSD: bsd.pkg.mk,v 1.942 2002/03/06 11:37:28 fredb Exp $
#
# This file is in the public domain.
#
@@ -1084,7 +1084,7 @@ IGNORE+= "${PKGNAME} is not available for ${MACHINE_PLATFORM}"
#
. if defined(IGNORE)
fetch checksum extract patch configure all build install package \
-install-depends check-depends:
+install-depends:
. if defined(IGNORE_SILENT)
@${DO_NADA}
. else
@@ -3213,18 +3213,6 @@ install-depends: uptodate-pkgtools
.endif
-real-fetch: check-depends
-.if !target(check-depends)
-check-depends:
-. if (defined(DEPENDS) || defined(BUILD_DEPENDS)) && \
- !defined(NO_DEPENDS) && !defined(NO_CHECK_DEPENDS) && !exists(${EXTRACT_COOKIE})
- ${_PKG_SILENT}${_PKG_DEBUG}\
- ${ECHO_MSG} "${_PKGSRC_IN}> Validating dependencies for ${PKGNAME}" ; \
- ${MAKE} ${MAKEFLAGS} DEPENDS_TARGET=check-depends ECHO_MSG=${TRUE:Q} IGNORE_FAIL=1 _DEPENDS_TARGET_OVERRIDE=1 install-depends || \
- { ${ECHO_MSG} "${_PKGSRC_IN}> ${PKGNAME} cannot build necessary dependencies."; ${FALSE}; }
-. endif
-.endif
-
.if !target(build-depends-list)
build-depends-list:
@for dir in `${MAKE} ${MAKEFLAGS} show-all-depends-dirs-excl`; \