summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-06-07 00:41:39 +0000
committerobache <obache@pkgsrc.org>2013-06-07 00:41:39 +0000
commit88db40f656616f903a7eab5538f8d40f0337fc0f (patch)
treeedf273b72342722f792961a112604e5834e3dea3 /mk
parentcd2ecb7b7d0363f14afe9b8f85ae47bd11806e2c (diff)
downloadpkgsrc-88db40f656616f903a7eab5538f8d40f0337fc0f.tar.gz
Move show-depends-options again, to be worked form non-option packages.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.options.mk12
-rw-r--r--mk/misc/show.mk13
2 files changed, 13 insertions, 12 deletions
diff --git a/mk/bsd.options.mk b/mk/bsd.options.mk
index 0fc86cb8aa3..be9552f9440 100644
--- a/mk/bsd.options.mk
+++ b/mk/bsd.options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.options.mk,v 1.70 2013/05/12 17:19:41 riastradh Exp $
+# $NetBSD: bsd.options.mk,v 1.71 2013/06/07 00:41:39 obache Exp $
#
# This Makefile fragment provides boilerplate code for standard naming
# conventions for handling per-package build options.
@@ -442,14 +442,4 @@ supported-options-message:
. endif
.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
-
.endif # BSD_OPTIONS_MK
diff --git a/mk/misc/show.mk b/mk/misc/show.mk
index cbc85252424..8c675ffe1c0 100644
--- a/mk/misc/show.mk
+++ b/mk/misc/show.mk
@@ -1,4 +1,4 @@
-# $NetBSD: show.mk,v 1.10 2009/07/28 07:01:56 rillig Exp $
+# $NetBSD: show.mk,v 1.11 2013/06/07 00:41:39 obache Exp $
#
# This file contains some targets that print information gathered from
# variables. They do not modify any variables.
@@ -157,3 +157,14 @@ show-all-${g}: .PHONY
. endfor
@echo ""
.endfor
+
+.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
+