diff options
Diffstat (limited to 'mk/flavor')
-rw-r--r-- | mk/flavor/README | 2 | ||||
-rw-r--r-- | mk/flavor/pkg/depends.mk | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/mk/flavor/README b/mk/flavor/README index 36ca1b2a8e8..42ba5fbc93d 100644 --- a/mk/flavor/README +++ b/mk/flavor/README @@ -47,7 +47,7 @@ The following make targets must be implemented: * _flavor-check-vulnerable * _flavor-deinstall -* show-depends +* _flavor-show-depends * _flavor-install-dependencies * bootstrap-depends * _flavor-register diff --git a/mk/flavor/pkg/depends.mk b/mk/flavor/pkg/depends.mk index ddd7ebc4894..df5a9bec978 100644 --- a/mk/flavor/pkg/depends.mk +++ b/mk/flavor/pkg/depends.mk @@ -1,4 +1,4 @@ -# $NetBSD: depends.mk,v 1.24 2007/03/15 03:01:33 rillig Exp $ +# $NetBSD: depends.mk,v 1.25 2007/03/15 22:14:30 rillig Exp $ _DEPENDS_FILE= ${WRKDIR}/.depends _REDUCE_DEPENDS_CMD= ${SETENV} CAT=${CAT:Q} \ @@ -19,8 +19,7 @@ _BUILD_DEPENDS_PATTERNS_CMD= \ [ ! -f ${_COOKIE.depends} ] \ || ${AWK} '$$1 == "build" { print $$2; }' < ${_COOKIE.depends} -.PHONY: show-depends -show-depends: +_flavor-show-depends: .PHONY @case ${VARNAME:Q}"" in \ BUILD_DEPENDS) ${_REDUCE_DEPENDS_CMD} ${BUILD_DEPENDS:Q} ;; \ DEPENDS|*) ${_REDUCE_DEPENDS_CMD} ${DEPENDS:Q} ;; \ |