30a00f2227
hide actual commands executed and only show short summary line (like "CC foo.c"). CMake and ninja enable this by default, some autotools using ports do as well. This is unacceptable because we need complete build logs at any time, so we now switch to verbose build logs unconditionally. Note that this change deliberately affects ALL builds and not only package builds on cluster, because we need to be sure that user experiencing failure can always provide informative build log regardless of settings and without rerunning the build. Change summary: - Always do verbose builds for cmake, ninja and GNU configure (the latter includes check if --disable-silent-rules is actually supported by the configure script; there are isolated cases when it's not true) - Remove CMAKE_VERBOSE, NINJA_VERBOSE and CONFIGURE_ARGS=--disable-silent-rules from all ports which set them for this is no longer needed - Revert hacks for --disable-silent-rules support priorly committed to biology/ncbi-blast+ and net-p2p/mldonkey - no longer needed as well Submitted by: amdmi3 Reviewed by: mat Exp-run by: antoine Approved by: portmgr (mat, antoine) Differential Revision: D7534
30 lines
491 B
Makefile
30 lines
491 B
Makefile
# $FreeBSD$
|
|
#
|
|
# Provide support to use Ninja
|
|
#
|
|
# Feature: ninja
|
|
# Usage: USES=ninja
|
|
#
|
|
# MAINTAINER: portmgr@FreeBSD.org
|
|
|
|
.if !defined(_INCLUDE_USES_NINJA_MK)
|
|
_INCLUDE_USES_NINJA_MK= yes
|
|
|
|
.if !empty(ninja_ARGS)
|
|
IGNORE= Incorrect 'USES+= ninja:${ninja_ARGS}' ninja takes no arguments
|
|
.endif
|
|
|
|
MAKE_ARGS+= -v
|
|
|
|
BUILD_DEPENDS+= ninja:devel/ninja
|
|
|
|
CMAKE_ARGS+= -GNinja
|
|
MAKEFILE=
|
|
MAKE_CMD= ninja
|
|
MAKE_FLAGS=
|
|
# Set a minimal job of 1
|
|
_MAKE_JOBS= -j${MAKE_JOBS_NUMBER}
|
|
_DESTDIR_VIA_ENV= yes
|
|
|
|
.endif
|