summaryrefslogtreecommitdiff
path: root/mk/depends/depends.mk
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2014-01-14 12:28:47 +0000
committercheusov <cheusov@pkgsrc.org>2014-01-14 12:28:47 +0000
commit32f19f00d99c606d45f0afa3bf313d6766488ba1 (patch)
treed8efa44619f8560cc8808b237eac60b14e5cbbc4 /mk/depends/depends.mk
parent9ca355c3c09e7ba94925c5168bad85ffbb78dd41 (diff)
downloadpkgsrc-32f19f00d99c606d45f0afa3bf313d6766488ba1.tar.gz
Revert previous commit
Diffstat (limited to 'mk/depends/depends.mk')
-rw-r--r--mk/depends/depends.mk26
1 files changed, 1 insertions, 25 deletions
diff --git a/mk/depends/depends.mk b/mk/depends/depends.mk
index c3eb73fa0e0..d503c2209e2 100644
--- a/mk/depends/depends.mk
+++ b/mk/depends/depends.mk
@@ -1,4 +1,4 @@
-# $NetBSD: depends.mk,v 1.17 2014/01/14 10:52:12 cheusov Exp $
+# $NetBSD: depends.mk,v 1.18 2014/01/14 12:28:47 cheusov Exp $
######################################################################
### depends (PUBLIC)
@@ -6,7 +6,6 @@
### depends is a public target to install missing dependencies for
### the package.
###
-_DEPENDS_TARGETS+= sanity-check-depends
_DEPENDS_TARGETS+= acquire-depends-lock
_DEPENDS_TARGETS+= ${_COOKIE.depends}
_DEPENDS_TARGETS+= release-depends-lock
@@ -63,26 +62,3 @@ depends-message:
.PHONY: pre-depends-hook
pre-depends-hook:
@${DO_NADA}
-
-######################################################################
-### sanity-check-depends (PRIVATE)
-######################################################################
-### sanity-check-depends is a private target to check that DEPENDS,
-### TOOL_DEPENDS, BUILD_DEPENDS and CONFLICTS contain correct values
-###
-
-_SANITY_CHECK_DEPENDS_CMD=${AWK} ' \
- match($$1, /[<>][^,{}]*[*?\[\]]/) { \
- sub(/:[^{}]*$$/, "", $$1); \
- print "Incorrect dependency: " $$1; \
- ex=1 \
- } \
- END { exit ex }'
-
-.PHONY: sanity-check-depends
-sanity-check-depends:
- @{ ${DEPENDS:@.temp.@echo '${.temp.}';@} \
- ${BUILD_DEPENDS:@.temp.@echo '${.temp.}';@} \
- ${TOOL_DEPENDS:@.temp.@echo '${.temp.}';@} \
- ${CONFLICTS:@.temp.@echo '${.temp.}';@} \
- } | ${_SANITY_CHECK_DEPENDS_CMD}