From 811a403f71f0a7851fffa4edd7ff1b8b9e7aa4cc Mon Sep 17 00:00:00 2001 From: fredb Date: Wed, 6 Mar 2002 11:37:28 +0000 Subject: 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.) --- mk/bsd.pkg.mk | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'mk/bsd.pkg.mk') 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`; \ -- cgit v1.2.3