Bug 282081

Summary: running `make index' without output to stdout
Product: Ports & Packages Reporter: Wolfram Schneider <wosch>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me CC: ports-bugs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://reviews.freebsd.org/D47108

Description Wolfram Schneider freebsd_committer freebsd_triage 2024-10-14 15:07:46 UTC
I tried to run `make index' without any output on success.

By default I get a message, when it starts and when it is finished.

$ git clone -q --depth=1 https://codeberg.org/freebsd/freebsd-ports
$ cd freebsd-ports
$ make -s PORTSDIR=$(pwd) index
Generating INDEX-14 - please wait.. Done.

If I set INDEX_ECHO_1ST=true the first part will be ignored, but the second part will always show

$ make -s INDEX_ECHO_1ST=true PORTSDIR=$(pwd) index
 Done.

I wish I could suppress the " Done" message as well if I set NDEX_ECHO_1ST=true
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-10-18 16:32:12 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ac29792cff952f8edb9f8318b05189d98fca1c85

commit ac29792cff952f8edb9f8318b05189d98fca1c85
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2024-10-18 16:26:20 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2024-10-18 16:29:05 +0000

    Makefile: enable to run `make index' without output to stdout

    e.g.: make -s INDEX_ECHO_1ST=true PORTSDIR=$(pwd) index

    PR: 282081
    Approved by: bapt
    Differential Revision: https://reviews.freebsd.org/D47108

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)