diff options
author | fredb <fredb@pkgsrc.org> | 2002-03-06 11:37:28 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2002-03-06 11:37:28 +0000 |
commit | 811a403f71f0a7851fffa4edd7ff1b8b9e7aa4cc (patch) | |
tree | 0559c4115900ee4e6a679e9dcd815996c4389bef | |
parent | fefe6d5678afcab6179b84cf0ca4441da7607e61 (diff) | |
download | pkgsrc-811a403f71f0a7851fffa4edd7ff1b8b9e7aa4cc.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.)
-rw-r--r-- | mk/bsd.pkg.mk | 16 |
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`; \ |