pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Make the pretty-printing actually work by passing a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ad049bceeb2
branches:  trunk
changeset: 493168:4ad049bceeb2
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Apr 28 21:58:44 2005 +0000

description:
Make the pretty-printing actually work by passing all of the options on
different lines to the word-wrap script.

diffstat:

 mk/bsd.options.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r c07d7da45ed7 -r 4ad049bceeb2 mk/bsd.options.mk
--- a/mk/bsd.options.mk Thu Apr 28 21:48:14 2005 +0000
+++ b/mk/bsd.options.mk Thu Apr 28 21:58:44 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.options.mk,v 1.18 2005/04/28 21:48:14 jlam Exp $
+# $NetBSD: bsd.options.mk,v 1.19 2005/04/28 21:58:44 jlam Exp $
 #
 # This Makefile fragment provides boilerplate code for standard naming
 # conventions for handling per-package build options.
@@ -190,12 +190,12 @@
        @${ECHO} "=========================================================================="
        @${ECHO} "The supported build options for this package are:"
        @${ECHO} ""
-       @${ECHO} ${PKG_SUPPORTED_OPTIONS:O:Q} | ${_PKG_OPTIONS_WORDWRAP_FILTER}
+       @${ECHO} ${PKG_SUPPORTED_OPTIONS:O:Q} | ${XARGS} -n 1 | ${_PKG_OPTIONS_WORDWRAP_FILTER}
 .    if !empty(PKG_OPTIONS)
        @${ECHO} ""
        @${ECHO} "The currently selected options are:"
        @${ECHO} ""
-       @${ECHO} ${PKG_OPTIONS:O:Q} | ${_PKG_OPTIONS_WORDWRAP_FILTER}
+       @${ECHO} ${PKG_OPTIONS:O:Q} | ${XARGS} -n 1 | ${_PKG_OPTIONS_WORDWRAP_FILTER}
 .    endif
        @${ECHO} ""
        @${ECHO} "You can select which build options to use by setting the following"



Home | Main Index | Thread Index | Old Index