summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1999-05-26 15:27:23 +0000
committertv <tv@pkgsrc.org>1999-05-26 15:27:23 +0000
commitcd009c0ae9e81e0a86d9191ab8f749a80413d75c (patch)
treea2896ac5ab7bd0fcbb6d069f241855213c990479
parent4a622652375b39a3a95d297f38090f4f7034e708 (diff)
downloadpkgsrc-cd009c0ae9e81e0a86d9191ab8f749a80413d75c.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.
-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})