FreeBSD Bugzilla – Attachment 173968 Details for
Bug 212075
Switch to verbose builds for cmake, ninja and GNU configure
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
verbose-build.patch (text/plain), 2.70 KB, created by
Dmitry Marakasov
on 2016-08-23 11:07:04 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2016-08-23 11:07:04 UTC
Size:
2.70 KB
patch
obsolete
>Index: CHANGES >=================================================================== >--- CHANGES (revision 420659) >+++ CHANGES (working copy) >@@ -10,6 +10,13 @@ > > All ports committers are allowed to commit to this file. > >+20160822: >+AUTHOR: amdmi3@FreeBSD.org >+ >+ Verbose build logs are now preferred and enabled by default for cmake, >+ ninja and GNU configure. Other ports are strongly advised to switch to >+ verbose logs where possible. >+ > 20160821: > AUTHOR: kde@FreeBSD.org > >Index: Mk/Uses/cmake.mk >=================================================================== >--- Mk/Uses/cmake.mk (revision 420659) >+++ Mk/Uses/cmake.mk (working copy) >@@ -12,8 +12,6 @@ > # Additional variables that affect cmake behaviour: > # > # User defined variables: >-# CMAKE_VERBOSE - Enable verbose build output >-# Default: not set, unless BATCH or PACKAGE_BUILDING is defined > # CMAKE_NOCOLOR - Disable colour build output > # Default: not set, unless BATCH or PACKAGE_BUILDING is defined > # CMAKE_NINJA - Use ninja instead of make(1) >@@ -80,18 +78,15 @@ > -DCMAKE_INSTALL_PREFIX:PATH="${CMAKE_INSTALL_PREFIX}" \ > -DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \ > -DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES \ >- -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=YES >+ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=YES \ >+ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON > > CMAKE_INSTALL_PREFIX?= ${PREFIX} > > .if defined(BATCH) || defined(PACKAGE_BUILDING) >-CMAKE_VERBOSE= yes > CMAKE_NOCOLOR= yes > .endif > >-.if defined(CMAKE_VERBOSE) >-CMAKE_ARGS+= -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON >-.endif > .if defined(CMAKE_NOCOLOR) > CMAKE_ARGS+= -DCMAKE_COLOR_MAKEFILE:BOOL=OFF > .endif >Index: Mk/Uses/ninja.mk >=================================================================== >--- Mk/Uses/ninja.mk (revision 420659) >+++ Mk/Uses/ninja.mk (working copy) >@@ -5,9 +5,6 @@ > # Feature: ninja > # Usage: USES=ninja > # >-# User defined variables: >-# NINJA_VERBOSE - Enable verbose output. >-# > # MAINTAINER: portmgr@FreeBSD.org > > .if !defined(_INCLUDE_USES_NINJA_MK) >@@ -17,9 +14,7 @@ > IGNORE= Incorrect 'USES+= ninja:${ninja_ARGS}' ninja takes no arguments > .endif > >-.if defined(NINJA_VERBOSE) > MAKE_ARGS+= -v >-.endif > > BUILD_DEPENDS+= ninja:devel/ninja > >Index: Mk/bsd.port.mk >=================================================================== >--- Mk/bsd.port.mk (revision 420659) >+++ Mk/bsd.port.mk (working copy) >@@ -2590,7 +2590,7 @@ > GNU_CONFIGURE_PREFIX?= ${PREFIX} > GNU_CONFIGURE_MANPREFIX?= ${MANPREFIX} > CONFIG_SITE?= ${PORTSDIR}/Templates/config.site >-CONFIGURE_ARGS+= --prefix=${GNU_CONFIGURE_PREFIX} $${_LATE_CONFIGURE_ARGS} >+CONFIGURE_ARGS+= --prefix=${GNU_CONFIGURE_PREFIX} --disable-silent-rules $${_LATE_CONFIGURE_ARGS} > .if defined(X_BUILD_FOR) > CONFIGURE_ARGS+= --host=${X_BUILD_FOR} > .endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212075
:
173968
|
174417
|
174427
|
174429
|
174431
|
174443
|
174446