diff options
author | obache <obache@pkgsrc.org> | 2008-02-18 14:30:40 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-02-18 14:30:40 +0000 |
commit | 0491e08655eff69dd679358c6f6443952b19eacd (patch) | |
tree | a8211a2b2495a7a592f04f8901a6513306dea319 /mk/flavor/pkg | |
parent | 87de2d887772dbb7e31570b97a64d412ddcc4860 (diff) | |
download | pkgsrc-0491e08655eff69dd679358c6f6443952b19eacd.tar.gz |
Move show-depends-options target from bsd.options.mk to flavor/pkg/utility.mk
to work with option-less packages.
Diffstat (limited to 'mk/flavor/pkg')
-rw-r--r-- | mk/flavor/pkg/utility.mk | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/mk/flavor/pkg/utility.mk b/mk/flavor/pkg/utility.mk index 37ae16c2a97..8396b0ce49c 100644 --- a/mk/flavor/pkg/utility.mk +++ b/mk/flavor/pkg/utility.mk @@ -1,4 +1,4 @@ -# $NetBSD: utility.mk,v 1.9 2007/11/19 14:59:40 tron Exp $ +# $NetBSD: utility.mk,v 1.10 2008/02/18 14:30:40 obache Exp $ # The 'info' target can be used to display information about a package. .PHONY: info @@ -78,6 +78,16 @@ show-pkgsrc-dir: _about-to-be-removed fi .endif +.PHONY: show-depends-options +show-depends-options: + ${RUN} \ + ${_DEPENDS_WALK_CMD} ${PKGPATH} | \ + while read dir; do \ + ${ECHO} "===> Options for $${dir}" && \ + cd ${.CURDIR}/../../$$dir && \ + ${RECURSIVE_MAKE} ${MAKEFLAGS} show-options; \ + done + # Short aliases .PHONY: sid sid: show-installed-depends |