summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortv <tv>1999-05-26 15:27:23 +0000
committertv <tv>1999-05-26 15:27:23 +0000
commit17441b2c2608dbe01adf47210e73d68a4155f786 (patch)
treea2896ac5ab7bd0fcbb6d069f241855213c990479 /mk
parent0b51b02e543b6543ddca9a7a6d2092363638da04 (diff)
downloadpkgsrc-17441b2c2608dbe01adf47210e73d68a4155f786.tar.gz
No need to validate dependencies if the package has already been extracted;
make check-depends also dependent on the (non)existence of EXTRACT_COOKIE.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 07b7f883270..41e914df7e3 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.276 1999/05/25 01:08:22 tv Exp $
+# $NetBSD: bsd.pkg.mk,v 1.277 1999/05/26 15:27:23 tv Exp $
#
# This file is in the public domain.
#
@@ -1800,7 +1800,7 @@ real-fetch: check-depends
.if !target(check-depends)
check-depends:
.if (defined(DEPENDS) || defined(BUILD_DEPENDS) || defined(RUN_DEPENDS)) && \
- !defined(NO_DEPENDS) && !defined(NO_CHECK_DEPENDS)
+ !defined(NO_DEPENDS) && !defined(NO_CHECK_DEPENDS) && !exists(${EXTRACT_COOKIE})
${_PKG_SILENT}${_PKG_DEBUG}${ECHO_MSG} "===> Validating dependencies for ${PKGNAME}"
${_PKG_SILENT}${_PKG_DEBUG}${MAKE} DEPENDS_TARGET=check-depends ECHO_MSG=${TRUE:Q} IGNORE_FAIL=1 depends || \
(${ECHO_MSG} "===> ${PKGNAME} cannot build necessary dependencies."; ${FALSE})