non port: Mk/Uses/cmake.mk |
Number of commits found: 62 |
Saturday, 1 Feb 2025
|
11:08 Jason E. Hale (jhale)
devel/cmake*: Update to 3.31.5
Announcement:
https://www.kitware.com/cmake-3-31-5-available-for-download/
88d2c11 |
Wednesday, 15 Jan 2025
|
08:13 Jason E. Hale (jhale)
devel/cmake*: Update to 3.31.4
Announcement:
https://www.kitware.com/cmake-3-31-4-available-for-download/
eb8f36e |
Wednesday, 1 Jan 2025
|
21:54 Jason E. Hale (jhale)
devel/cmake*: Update to 3.31.3
Announcement:
https://www.kitware.com/cmake-3-31-3-available-for-download/
b516cc3 |
Friday, 6 Dec 2024
|
06:54 Jason E. Hale (jhale)
devel/cmake*: Update to 3.31.2
Announcement:
https://www.kitware.com/cmake-3-31-2-available-for-download/
a16d253 |
Friday, 29 Nov 2024
|
16:12 Jason E. Hale (jhale)
devel/cmake*: Update to 3.31.1
Announcement:
https://www.kitware.com/announce-cmake-3-31-1-available-for-download/
898c281 |
Tuesday, 26 Nov 2024
|
16:45 Jason E. Hale (jhale)
Mk/Uses/cmake.mk: Add CMAKE_TESTING_SETENV
Defining this variable in an individual port Makefile sets the
environment for building and, more importantly, running the target
defined by CMAKE_TESTING_TARGET with SETENV instead of SETENVI.
Certain tests may require a running X or Wayland session to function
and SETENVI discards important environment variables like DISPLAY and
XAUTHORITY that cause these tests to fail or segfault.
fc99957 |
Sunday, 17 Nov 2024
|
22:58 Jason E. Hale (jhale)
devel/cmake*: Update to 3.31.0
devel/cmake-gui: Convert to out-of-source build
Announcement:
https://www.kitware.com/cmake-3-31-0-available-for-download/
Release notes:
https://cmake.org/cmake/help/latest/release/3.31.html
PR: 282725
Exp-run by: antoine
4263e3a |
Sunday, 13 Oct 2024
|
15:49 Jason E. Hale (jhale)
devel/cmake*: Update to 3.30.5
Announcement:
https://www.kitware.com/cmake-3-30-5-available-for-download/
7882db2 |
Saturday, 28 Sep 2024
|
04:59 Jason E. Hale (jhale)
devel/cmake*: Update to 3.30.4
Announcement:
https://www.kitware.com/cmake-3-30-4-available-for-download/
85c3bcc |
Sunday, 1 Sep 2024
|
04:23 Jason E. Hale (jhale)
devel/cmake*: Update to 3.30.3
Announcement:
https://www.kitware.com/cmake-3-30-3-available-for-download/
c21eed4 |
Tuesday, 20 Aug 2024
|
05:54 Jason E. Hale (jhale)
devel/cmake-core: Refactor
Move the update reminder to Uses/Mk/cmake.mk where the version has
been changed since after 7bdeb4414c22 and will be more likely noticed.
Switch to an out-of-source build. This eliminates the need to remove
certain unwanted files prior to install.
Define a sensible CONFIGURE_LOG for users to report as the default
doesn't exist.
Sort CONFIGURE_ARGS, not necessarily alphabetically, but to improve
readability.
Pet portclippy(1): hoist the post-patch target.
Settle on one sed(1) delimiter instead of three. Pipes (|) seems to
be the most readable here.
Remove cruft from ${FILESDIR}/InitialCache.cmake and convert to SUB_FILES
to take advantage of framework substitutions. archivers/lzmalib is gone,
so there is no need to patch for that. Remove the CPACK_OPTION_COMMENT
variable in favor of CMake logic.
76b8901 |
Tuesday, 6 Aug 2024
|
16:43 Jason E. Hale (jhale)
devel/cmake*: Update to 3.30.1
Announcements:
https://www.kitware.com/cmake-3-30-0-available-for-download/
https://www.kitware.com/cmake-3-30-1-available-for-download/
Release notes:
https://cmake.org/cmake/help/latest/release/3.30.html
PR: 280381
Exp-run by: antoine
fbb737b |
16:43 Jason E. Hale (jhale)
devel/cmake*: Update to 3.30.2
Announcement:
https://www.kitware.com/cmake-3-30-2-available-for-download/
134a62d |
Saturday, 29 Jun 2024
|
05:20 Jason E. Hale (jhale)
Mk/Uses/cmake.mk: Respect MAKE_JOBS_NUMBER
Pass -DCMAKE_AUTOGEN_PARALLEL:STRING="${MAKE_JOBS_NUMBER}" to avoid
spawning more moc and uic processes than the user has specified via
MAKE_JOBS_NUMBER and to limit to 1 if the user has DISABLE_MAKE_JOBS
set.
PR: 279908
Reported by: Anton Saietskii <vsasjason@gmail.com>
3ecb58c |
Saturday, 22 Jun 2024
|
00:42 Jason E. Hale (jhale)
devel/cmake*: Update to 3.29.6
Announcement:
https://www.kitware.com/cmake-3-29-6-available-for-download/
65fe831 |
Wednesday, 12 Jun 2024
|
09:38 Jason E. Hale (jhale)
devel/cmake*: Update to 3.29.5
Announcements:
https://www.kitware.com/cmake-3-29-4-available-for-download/
https://www.kitware.com/cmake-3-29-5-available-for-download/
5a4f245 |
Thursday, 6 Jun 2024
|
19:05 Daniel Engberg (diizzy)
Mk/Uses/cmake.mk: Make parallel level adjustable for tests
Some projects don't support running tests in parallel
(for example chinese/libchewing) and currently there's no way of
disabling it.
Add CMAKE_TESTING_PARALLEL_LEVEL and default to MAKE_JOBS_NUMBER
Switch to MAKE_JOBS_NUMBER as _MAKE_JOBS_NUMBER is unset if
MAKE_JOBS_UNSAFE is defined.
PR: 279316
Approved by: portmgr (arrowd)
3522562 |
Sunday, 19 May 2024
|
00:36 Jason E. Hale (jhale)
devel/cmake*: Update to 3.29.2
Qt5 support has been removed from devel/cmake-gui. The kde@ team
recommends migrating away from Qt5 and using Qt6 for individual
applications whenever possible.
Announcements:
https://www.kitware.com/cmake-3-29-0-available-for-download/
https://www.kitware.com/cmake-3-29-1-available-for-download/
https://www.kitware.com/cmake-3-29-2-available-for-download/
Release notes:
https://cmake.org/cmake/help/latest/release/3.29.html
PR: 278693
Exp-run by: antoine
8c719da |
00:36 Jason E. Hale (jhale)
devel/cmake: Update to 3.29.3
Announcement:
https://www.kitware.com/cmake-3-29-3-available-for-download/
b3b1380 |
Friday, 3 May 2024
|
18:44 Matthias Andree (mandree)
Mk/Uses/cmake.mk: use proper environment in do-test
* the actual test run used MAKE_ENV but should use TEST_ENV
* also, ctest(1) defaults to running tests serially, so add
CTEST_PARALLEL_LEVEL here and set it to _MAKE_JOBS_NUMBER.
NOTE: cmake 3.29 changes semantics for _MAKE_JOBS_NUMBER empty or 0.
This was developed together with diizzy@ as a result of analysing
performance regressions from PR 278500.
PR: 278533
Approved by: portmgr@ (tcberner@)
cbee39b |
Thursday, 11 Apr 2024
|
19:40 Mathieu Arnold (mat)
Revert "Mk/Uses: Fix feature checks after my previous {WITH,WITHOUT}_*_PORTS
change"
This reverts commit 665b0219e541019b849fd5a1efdf032081dcf610.
0660146 |
17:53 Gleb Popov (arrowd)
Mk/Uses: Fix feature checks after my previous {WITH,WITHOUT}_*_PORTS change
Test Plan:
Take cmake.mk for example. Choosing a port with USES=cmake and running
`make -V CMAKE_BUILD_TYPE` gives "Release" and
`make -V CMAKE_BUILD_TYPE WITH_DEBUG=yes` gives "Debug". However,
`make -V CMAKE_BUILD_TYPE WITH_DEBUG_PORTS=this/port` still gives "Release"
unless this change is applied.
Differential Revision: https://reviews.freebsd.org/D44748
Fixes: d697653cffd19ddaf3cdee2589a830c72ab39777
Approved by: bapt
665b021 |
Tuesday, 9 Apr 2024
|
08:58 Max Brazhnikov (makc)
Mk/Uses/cmake.mk: sort arguments
Reported by: sunpoet
eafdc2d |
Monday, 8 Apr 2024
|
09:15 Max Brazhnikov (makc)
Mk/cmake.mk: add support for indirect argument
Add indirect to list of arguments for USES=cmake. cmake:indirect is intended
primarily
for ports, which use meson or pep517 for build, but rely on cmake underneath.
Update documentation while here.
Differential Revision: https://reviews.freebsd.org/D44509
4963e98 |
Thursday, 29 Feb 2024
|
20:21 Tijl Coosemans (tijl)
Mk/*: Build with a clean environment
Both our make and gmake use the MAKEFLAGS environment variable but the
values aren't compatible and the latest version of gmake complains about
that. To rule out that any environment variable can cause problems like
this, add a new command SETENVI=/usr/bin/env -i that clears the
environment, and use it to run upstream build systems with a clean
environment.
Introduce a new variable WRK_ENV that contains the environment to use
with SETENVI in all targets that run upstream build commands. Variables
that are common between CONFIGURE_ENV and MAKE_ENV could be moved to
WRK_ENV but for now it just contains a minimal environment:
HOME=${WRKDIR}: Fixes USES=elixir ports that were using the user's HOME.
OSVERSION: For cross building; determines the output of uname -K and
getosreldate(3); affects net/freebsd-telnetd for example.
PATH: Fixes USES=gem ports that were using the user's PATH.
PWD=$${PWD}: Preserve current working directory; affects USES=go ports.
TERM: To preserve colored output to terminals.
TMPDIR: For users who define that.
UNAME_*: For cross building; determines the output of uname(1); affects
lang/python* for example.
This commit deals with everything under Mk/. Ports that have their own
targets running upstream build commands can switch to SETENVI later.
The ports tree adds its definition of ARCH to the MAKEFLAGS environment
variable, which is interpreted by sub-makes as command line arguments,
which means that any definition of ARCH in upstream makefiles was
overridden. The following ports required fixes now that this is no
longer the case.
games/iortcw, games/q3cellshading, games/tremulous:
These use Quake 3 engine code. Fix use of ARCH. Reduce diff between
FreeBSD code and Linux code.
games/legesmotus:
Remove ARCH related patches.
lang/ocaml:
Patch configure script so it detects amd64 correctly. Also make the
powerpc case consistent with the other architectures. This also affects
other ocaml ports like devel/ocaml-ocamlbuild and math/ocaml-num that
include a Makefile.config installed by lang/ocaml. While here, use
SETENVI in check-test target.
net/libnatpmp:
Use of upstream definition of ARCH triggers installation in PREFIX/lib64
on amd64. Disable this.
PR: 276478
Approved by: portmgr (antoine)
Exp-run by: antoine
572f236 |
Saturday, 10 Feb 2024
|
22:02 Jason E. Hale (jhale)
devel/cmake*: Update to 3.28.3
Changes made since CMake 3.28.2:
- Tests: Add case covering PCH in a unity build
- Unity: Clarify source comments on unity build transformation
- cmGlobalGenerator: Add unity/pch sources after computing compile
features
- zlib 2022-10-12 (04f42cec)
- zlib: Fix 1.2.13 version and date notice
https://www.kitware.com/cmake-3-28-3-available-for-download/
8ac8784 |
Saturday, 3 Feb 2024
|
06:31 Gleb Popov (arrowd)
Features/debuginfo.mk: Automatically generate a subpackage with debugging info.
Differential Revision: https://reviews.freebsd.org/D43515
Tested by: flo
Approved by: portmgr, emaste
2c24a73 |
Thursday, 1 Feb 2024
|
21:35 Jason E. Hale (jhale)
devel/cmake*: Update to 3.28.2
Install manpages in share/man.
Changes made since CMake 3.28.1:
- Autogen: Forward dependencies when both Makefile and DEPFILE are used
- CUDA/Clang: Record architectures supported by Clang 16
- CUDA/Clang: Update architectures supported by CUDA 12
- CUDAToolkit: Correctly search all include paths from compiler
- ExternalProject: revert `BYPRODUCTS` for download outputs
- FindBoost: Add support for Boost 1.84
- FindFreetype: Revert use of upstream freetype cmake package
- FindMatlab: Accept long ver in matlab_get_release_name_from_version
- FindMatlab: Document all registry paths for version lookup
- FindMatlab: Document that version mappings do not apply to MCR
- FindMatlab: Fix error message from function
- FindMatlab: Fix major.minor version lookups in Windows Registry
- FindMatlab: Restore support for finding EXACT major.minor version
- FindMatlab: Restore support for versions without VersionInfo.xml
- FindMatlab: Some versions use major.minor.patch in the registry
- FindMatlab: matlab_get_release_name_from_version is a function now
- FindMatlab: use correct registry view when extracting versions
- HIP: Propagate CMAKE_HIP_PLATFORM from/to the test project in
check_language
- HIP: Really forward CMAKE_HIP_HOST_COMPILER in check_language(HIP)
- Help: Add missing DIRECTORY keyword to set_tests_properties()
signature
- Help: Fix typo not accounting for addition of visionOS
- Help: Fix wrong return values for unset inherited properties
- Help: Note CMAKE_IOS_INSTALL_COMBINED deprecation in toolchains
example
- Help: Update missed text for dynamically generated resource spec files
- Help: Use <variable> consistently in property getter commands
- Help: Use <xxx> for non-keyword arguments in property command
signatures
- Help: string(LENGTH): Fix synopsis link to command description
- Help: update lua.org links to be HTTPS
- Makefile: Fix double escaping when DEPFILE is used
- Makefile: Reduce string copies
- Ninja: LINK_OPTIONS property should support newlines
- Revert use of libuv for process execution for 3.28
- Source: Restore compilation on OpenBSD
- Source: Simplify hasher object construction
- Tests/CXXModules/scan_properties: use `ixx` extension
- Tests/CXXModules: add a test case for VS generation without flags
- Tests/CXXModules: add a test with unity build support
- Tests: Add missing include in testUVProcessChainHelper on Windows
- Tests: Improve C compatibility of LoadCommand tests
- Tests: Verify CUDA::cupti existence on a subset of machines
- UsePkgConfig: Restore removal of trailing whitespace from pkg-config
output
- Xcode: Restore support for standalone IMPORTED_LOCATION_
- cmDyndepCollation: clarify CXX_MODULES-without-BMI error message
- cmGlobalGenerator: add unity sources after computing target compile
features
- cmLocalGenerator: ignore scanned sources for unity builds
- cmNinjaTargetGenerator: use scan flag for modmap usage inexported
commands
- cmQtAutoGenInitializer: Improve Const-correctness
- cmUVProcessChain: Simplify SetExternalStream usage
- cmUVProcessChain: Simplify builder initialization
- cmUVProcessChain: Tolerate fileno() of invalid FILE stream
- cmVisualStudio10TargetGenerator: always specify scanning
- cmVisualStudio10TargetGenerator: fix typo in flag name
- cxxmodules: compute link information for C++ module-consuming targets
- cxxmodules: make export trampoline script files unique
- zlib 2022-10-12 (04f42cec)
- zlib: Update script to get zlib 1.2.13
https://www.kitware.com/cmake-3-28-2-available-for-download/
f5b2481 |
Thursday, 28 Dec 2023
|
23:03 Jason E. Hale (jhale)
devel/cmake*: Update to 3.28.1
Announcements: https://www.kitware.com/cmake-3-28-0-available-for-download/
https://www.kitware.com/cmake-3-28-1-available-for-download/
Release notes: https://cmake.org/cmake/help/latest/release/3.28.html
PR: 275730
Exp-run by: antoine
be58b09 |
Saturday, 2 Dec 2023
|
02:09 Jason E. Hale (jhale)
devel/cmake-*: Update to 3.27.9
Changes made since CMake 3.27.8:
- Help: Document that CMP0149 should be set before project()
- Help: Fix ctest(1) manual links to www.cdash.org
- Ninja: Revert exact collation dependencies for 3.27
- Ninja: depfile: keep rules without dependencies
- Tests/FortranModules: add test for TARGET_OBJECTS-as-sources module
usage
- Tests/FortranModules: add test for TARGET_OBJECTS-as-linked-items
module usage
- fileapi: Fix file sets' base directories relative to top source
https://www.kitware.com/cmake-3-27-9-available-for-download/
6c4806b |
Monday, 27 Nov 2023
|
01:22 Jason E. Hale (jhale)
devel/cmake-*: Update to 3.27.8
Changes made since CMake 3.27.7:
- FindOpenMP: Add support for openmp 5.1 (llvm 17) and 5.2
- GetPrerequisites: Revert "Ignore relative paths printed by ldd"
- Fortran: Restore support for TARGET_OBJECTS providing modules
- Tests/ObjectLibrary: fix comment
- cmComputeLinkDepends: also copy the target from object link items
- cmComputeLinkInformation: skip over linking to items for object
purposes
- cmComputeLinkInformation: Track targets named by TARGET_OBJECTS
sources
- cmCommonTargetGenerator: Factor out GetLinkedTargetDirectories loop
body
- curl: Backport SOCKS5 heap buffer overflow fix from curl 8.4.0
https://www.kitware.com/cmake-3-27-8-available-for-download/
Security: d6c19e8c-6806-11ee-9464-b42e991fc52e
d870a95 |
Thursday, 9 Nov 2023
|
22:40 Jason E. Hale (jhale)
devel/cmake*: Update to 3.27.7 [1]
Add support for keywords like RUNTIME_DEPENDENCY_SET and
RUNTIME_DEPENDENCIES in the install() command and
GET_RUNTIME_DEPENDENCIES in the file() command. [2]
https://cmake.org/cmake/help/v3.27/release/3.27.html
PR: 274225 [1], 274275 [2]
Reported by: yuri [2]
Exp-run by: antoine [1]
5244b84 |
Wednesday, 12 Apr 2023
|
22:27 Adriaan de Groot (adridg)
devel/cmake: update to 3.26.1, latest upstream
See release notes at
https://cmake.org/cmake/help/v3.26/release/3.26.html
Some "while we're at it" changes:
- remove obsolete patch, reported by: diizzy (PR 270337)
- set LOCALSTATEDIR to /var (PR 267748)
Thanks antoine@ for the exp-run.
PR: 270491 270337 267748
2f35240 |
Sunday, 8 Jan 2023
|
21:32 Adriaan de Groot (adridg)
devel/cmake*: update to 3.25.1
While here, remove a stale patch (upstreamed in CMake 3.10 or so)
and repair the CPack FreeBSD pkg generator.
Prepared by lbartoletti@
Exp-runs by antoine@
PR: 267872, 267894
efaecf6 |
Tuesday, 8 Nov 2022
|
19:50 Dima Panov (fluffy)
*/cmake*: hoist cmake version to cmake.mk (+)
Differential Revision: D31894 (revisited)
7bdeb44 |
Saturday, 29 Oct 2022
|
19:38 Daniel Engberg (diizzy)
Mk/Uses/cmake.mk: Define -DNDEBUG when BUILD_TYPE is set to RELEASE
CMake defines -DNDEBUG when BUILD_TYPE is set to RELEASE by default
however default flags gets dropped when CMAKE_C_FLAGS_RELEASE and
CMAKE_CXX_FLAGS_RELEASE are (re)defined. This causes some projects
to build with debugging by default which needs to be disabled
by hand if they do not set -DNDEBUG manually either in ports
Makefile and/or in CMake's Makefile. To follow upstream add
-DNDEBUG to our RELEASE flags.
PR: 266721
Reviewed by: arrowd
Approved by: portmgr (tcberner)
Differential Revision: https://reviews.freebsd.org/D36695
Exp-run by: antoine
3c5189a |
Tuesday, 18 Oct 2022
|
09:17 Gleb Popov (arrowd)
Uses/cmake.mk: Always pass FETCHCONTENT_FULLY_DISCONNECTED=1 to CMAKE_ARGS.
Summary:
This variable makes `FetchContent_*()` CMake functions to disable any network
access, which is exactly what we expect in Ports framework.
Test Plan: `poudriere testport` on a simple CMake port.
Reviewed By: #kde, #portmgr, tcberner
Differential Revision: https://reviews.freebsd.org/D37015
33ec243a |
Thursday, 8 Sep 2022
|
20:14 Daniel Engberg (diizzy)
devel/cmake: Create a meta-port for CMake
Create a meta-port for CMake to make it easier for the end user and
better handling of build dependencies.
This pushes devel/cmake into /devel/cmake-core and splits manpages and
its dependencies to /devel/cmake-man
Approved by: kde (tcberner)
Differential Revision: https://reviews.freebsd.org/D34957
b23ea4e |
Thursday, 5 May 2022
|
22:45 Adriaan de Groot (adridg)
USES=cmake: be explicit about incompatibilities with ninja
Document how `USES=gmake` and `USES=emacs` are incompatible with
the default `USES=cmake` behavior of using ninja as generator.
Using a naive `USES=cmake emacs` line used to get you a strange
ninja error when ${MAKE_ARGS} is passed to it, now there is a
meaningful error message beforehand.
The linked PR examines ways to make it "just work", but that
got bogged down. Do a partial fix so it is easier to track
down next time.
PR: 251191
07ebebf |
Sunday, 24 Apr 2022
|
10:00 Tobias C. Berner (tcberner)
framework: cleanup conditional-indentations in Mk/
Run Tools/scripts/indent_make_if.pl on all of Mk.
These white space changes contribute greatly to the readability of those files.
As we have a version control system, finding out the reasons for the changes
prior to these white space changes is still easily possible
Differential Revision: https://reviews.freebsd.org/D35024
Reviewed by: portmgr (rene, bapt)
aa25396 |
Thursday, 24 Mar 2022
|
20:02 Yuri Victorovich (yuri)
Mk/Uses/cmake.mk: Build tests on multiple CPUs
PR: 262239
pproved by: tcberner@ (from kde@)
134bd31 |
Tuesday, 6 Apr 2021
|
14:27 Mathieu Arnold (mat)
framework: Remove $FreeBSD$
Where appropriate fiddle with a few other things.
5d33e04 |
Tuesday, 30 Mar 2021
|
12:08 adridg
Add support for USES=cmake:testing
CMake-based ports have a "standard" way of controlling whether
testing should be built, by passing -DBUILD_TESTING=ON at the
configure stage (with some footnotes). Add a :testing modifier
for USES=cmake that enables a boilerplate do-test target that
rebuilds with testing enabled, and then runs the tests.
Individual ports need to buy in to this explicitly (because
tests might not be non-destructive).
Submitted and explained well by yuri@
PR: 249024
Submitted by: yuri
 |
Tuesday, 25 Dec 2018
|
20:25 tcberner
Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".
I tried to only set insource where explictely needed.
PR: 232038
Exp-run by: antoine
 |
Sunday, 31 Dec 2017
|
09:43 tcberner
Add CMAKE_ON and CMAKE_OFF to cmake.mk
USES=cmake now supports two additional list variables:
* CMAKE_ON : List of variables to turn on
* CMAKE_OFF : List of variables to turn off
This can be used as a shortcut to append these to CMAKE_ARGS.
For example ports that previously set
CMAKE_ARGS= -DVAR1:BOOL=TRUE -DVAR2:BOOL=TRUE -DVAR3:BOOL=FALSE
can now set this as
CMAKE_ON= VAR1 VAR2
CMAKE_OFF= VAR3
Reviewed by: adridg, rakuco, mat
Differential Revision: https://reviews.freebsd.org/D13636
 |
Sunday, 25 Jun 2017
|
21:07 tcberner
Make ninja opt-out in cmake.mk
Using ninja instead of make (1) can lead to significant speed ups while
building.
Therefore switch from having the ninja generator opt-in to having it opt-out.
Previously cmake-ports that wanted to use ninja could set
CMAKE_NINJA=yes
now, ports that do not work with ninja can set
cmake:<existing args>,noninja
Note, that needing this should be an exception and most often points to a broken
cmake of the port.
The ports using cmake were modified
* removed USES=gmake, if ninja is used
* removed MAKE_ARGS, if ninja is used
* added the cmake-argument noninja if necessary
PR: 219629
PR: 213331
Exp-run by: antoine
Reviewed by: rakuco
Differential Revision: https://reviews.freebsd.org/D10748
 |
Tuesday, 18 Oct 2016
|
11:20 jbeich
Adjust TEST_WRKSRC for USES=[cq]make:outsource
Approved by: rakuco
Differential Revision: https://reviews.freebsd.org/D8274
 |
Friday, 9 Sep 2016
|
19:42 amdmi3
Most commonly used build systems support silent builds, when they
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
 |
Sunday, 27 Mar 2016
|
01:23 bapt
Remove the now unneeded ${PORTSDIR} from dependency definition in
The infrastructure Makefiles
PR: 206569
Exp run by: antoine
Differential Revision: D5047
 |
Monday, 18 Jan 2016
|
18:27 rakuco
Uses/cmake.mk: Make it possible to override {BUILD,INSTALL}_WRKSRC with
:outsource.
This is particularly useful if a port only needs to build a subdirectory of
the source tree (in which case they can set BUILD_WRKSRC to
"${CONFIGURE_WRKSRC}/foo/bar").
 |
Thursday, 15 Oct 2015
|
07:36 bapt
Readd PORTSDIR for now we will only start removing them after 2016Q1 is branched
This gives more time for tools to get updated, available in packages etc before
bothering users
 |
Wednesday, 14 Oct 2015
|
16:49 bapt
Drop the necessity to add ${PORTSDIR} to dependency line
Modify make describe to automatically prepend ${PORTSDIR} if the path for the
port is not absolute
Checked with poudriere, portmaster, portupgrade
PR: 203685
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D3866
 |
Tuesday, 18 Aug 2015
|
10:51 rakuco
Uses/cmake.mk: Replace CMAKE_ENV with CONFIGURE_ENV.
Instead of defining a variable that is almost always based on CONFIGURE_ENV,
just use CONFIGURE_ENV directly.
This also matches the behavior of other ports that do not use autotools (so
most ports can just worry about CONFIGURE_ENV). Additionally, the fact that
we do not use ?= means we do not have problems if another file in Uses/
needs to set CONFIGURE_ENV (with CMAKE_ENV, the order of the arguments to
USES would matter).
Ports which set CMAKE_ENV have been adjusted accordingly. In most cases,
CMAKE_ENV was just replaced with CONFIGURE_ENV, the exceptions being:
* databases/sqliteman: CMAKE_ENV line removed; setting QMAKESPEC there has
no effect on the build system.
* devel/freeocl: CMAKE_ENV line removed; FREEOCL_CXX_COMPILER is already
retrieved from the CMAKE_CXX_COMPILER variable in the build
system.
* graphics/openimageio: CMAKE_ENV line removed; setting Qt variables there
has no effect on the build system.
Reviewed by: makc
Differential Revision: https://reviews.freebsd.org/D3403
 |
Thursday, 18 Dec 2014
|
16:47 rakuco
Uses/cmake.mk: Reword description of CMAKE_VERBOSE and CMAKE_NOCOLOR a bit.
 |
Thursday, 2 Oct 2014
|
07:26 mva
- Fix WITH_DEBUG with USES=cmake. bsd.ports.mk sets STRIP= after all Uses
files have been processed initially. If one has WITH_DEBUG=yes set, the
INSTALL_TARGET for USES=cmake has been set already to install/strip, before
STRIP is reset.
Differential Revision: D875
Approved by: makc@ (kde), bapt@ (portmgr)
 |
Sunday, 28 Sep 2014
|
16:36 tijl
Change the way USES is handled:
- Loop over USES twice, once to define all *_ARGS variables and once to
include Uses/*.mk. This allows all Uses/*.mk to examine arguments given
to other USES entries.
- Always define *_ARGS (possibly empty) and replace commas with spaces.
Similar for _USES_POST.
Adjust all Uses/*.mk:
- defined(u_ARGS) becomes !empty(u_ARGS)
- Eliminate helper variables like _*_ARGS=${*_ARGS:C/,/ /g}
- Some Uses/*.mk used ":" as argument separator instead of ",", but no port
used this form
- Uses/cran.mk: remove unused variable VALID_ARGS and USES+=fortran which
has no effect
- Uses/twisted.mk: simplify handling of the case where neither "build" nor
"run" arguments have been specified
PR: 193931
Exp-run by: antoine
Approved by: portmgr (antoine)
 |
Monday, 5 May 2014
|
09:45 bapt
Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)
bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore
Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier
With hat: portmgr
 |
Friday, 11 Apr 2014
|
21:45 brooks
Allow an alternative install prefix to be specified with
CMAKE_INSTALL_PREFIX. This is similar to GNU_CONFIGURE_PREFIX and is
useful for ports that would conflict if installed directly in PREFIX.
 |
Saturday, 15 Mar 2014
|
10:31 gerald
Move MAINTAINER lines to the end of the initial comment block and
make things a bit more consistent.
Approved by: portmgr (bapt)
 |
Saturday, 8 Feb 2014
|
22:15 bapt
Add a global CMAKE_NINJA variable to set in make.conf to use ninja instead of
make(1) for ports using cmake
 |
Sunday, 22 Dec 2013
|
14:04 makc
- Don't remove rpath from binaries during install [1]
- Remove outdated comment
PR: ports/176901 [1]
Submitted by: amdmi3, avg
Exp-run by: bdrewery
 |
Tuesday, 19 Mar 2013
|
17:59 makc
Convert USE_CMAKE to USES macro:
Usage: USES= cmake or USES= cmake:ARGS
Valid ARGS: outsource (perform an out-of-source build)
Tested by: exp-run (bapt)
Approved by: portmgr (bapt)
 |
Number of commits found: 62 |