pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Move show-depends-options target from bsd.options.m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/089ccbb11576
branches:  trunk
changeset: 538736:089ccbb11576
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Feb 18 14:30:40 2008 +0000

description:
Move show-depends-options target from bsd.options.mk to flavor/pkg/utility.mk
to work with option-less packages.

diffstat:

 mk/bsd.options.mk        |  12 +-----------
 mk/flavor/pkg/utility.mk |  12 +++++++++++-
 2 files changed, 12 insertions(+), 12 deletions(-)

diffs (50 lines):

diff -r f24eb8a3741b -r 089ccbb11576 mk/bsd.options.mk
--- a/mk/bsd.options.mk Mon Feb 18 14:01:56 2008 +0000
+++ b/mk/bsd.options.mk Mon Feb 18 14:30:40 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.options.mk,v 1.66 2008/02/18 12:38:35 obache Exp $
+# $NetBSD: bsd.options.mk,v 1.67 2008/02/18 14:30:40 obache Exp $
 #
 # This Makefile fragment provides boilerplate code for standard naming
 # conventions for handling per-package build options.
@@ -438,14 +438,4 @@
 .  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 -r f24eb8a3741b -r 089ccbb11576 mk/flavor/pkg/utility.mk
--- a/mk/flavor/pkg/utility.mk  Mon Feb 18 14:01:56 2008 +0000
+++ b/mk/flavor/pkg/utility.mk  Mon Feb 18 14:30:40 2008 +0000
@@ -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 @@
        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



Home | Main Index | Thread Index | Old Index