[Bug 213446] Configurable verbose build output

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 15 03:23:17 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213446

lightside <lightside at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #175772|                            |maintainer-approval?(portmg
              Flags|                            |r at FreeBSD.org)

--- Comment #15 from lightside <lightside at gmx.com> ---
Created attachment 175772
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175772&action=edit
Proposed Mk/Uses/verbose.mk file

As I said in comment #14, there is a possibility to create Mk/Uses/verbose.mk
file, which provides support for verbose build output, with ability to disable
this feature (by using mentioned NO_VERBOSE_BUILD define), when needed. I
attached some variant of it.

Some examples of usage:
1) USES+= verbose
-8<--
% make -V MAKE_ARGS
-V=1 ...
-->8-

2) USES+= verbose:env
-8<--
% make -V MAKE_ENV
-V=1 ...
-->8-

3) USES+= verbose:env,var
-8<--
% make -V MAKE_ARGS -V MAKE_ENV
-V=1 ...
-V=1 ...
-->8-

4) USES+= verbose:env
VERBOSE_FLAG= BUILD_VERBOSE=1
-8<--
% make -V MAKE_ENV
BUILD_VERBOSE=1 ...
-->8-

5) USES+= verbose
VERBOSE_VAR= FOO BAR
-8<--
% make -V FOO -V BAR
-V=1
-V=1
-->8-

6) USES+= verbose:env,var
VERBOSE_VAR= FOO
VERBOSE_FLAG=   verbose=yes
-8<--
% make -V FOO -V MAKE_ENV
verbose=yes
verbose=yes ...
-->8-

7) USES+= verbose
VERBOSE_VAR= CMAKE_ARGS
VERBOSE_FLAG= -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
-8<--
% make -V CMAKE_ARGS
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
% make NO_VERBOSE_BUILD=yes -V CMAKE_ARGS

-->8-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list