Skip to content

Commit

Permalink
cmake: update to 3.21.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgn committed Jul 30, 2021
1 parent f53cbbc commit 6f728f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 49 deletions.
41 changes: 0 additions & 41 deletions srcpkgs/cmake/patches/test-none.patch

This file was deleted.

11 changes: 3 additions & 8 deletions srcpkgs/cmake/template
@@ -1,7 +1,6 @@
# Template file for 'cmake'
# FIXME: cmake is being rebuilt on do_install
pkgname=cmake
version=3.20.5
version=3.21.1
revision=1
build_style=cmake
configure_args="-DCMAKE_DOC_DIR=/share/doc/cmake
Expand All @@ -17,14 +16,9 @@ maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="BSD-3-Clause, ICU"
homepage="https://www.cmake.org"
distfiles="https://www.cmake.org/files/v${version%.*}/${pkgname}-${version}.tar.gz"
checksum=12c8040ef5c6f1bc5b8868cede16bb7926c18980f59779e299ab52cbc6f15bb0
checksum=fac3915171d4dff25913975d712f76e69aef44bf738ba7b976793a458b4cfed4
replaces="cmake-bootstrap>=0"

# XXX: cmake is broken if cmake was built with -GNinja
# https://bugs.gentoo.org/596460
export CMAKE_GENERATOR="Unix Makefiles"
make_cmd=make

if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" cmake"
fi
Expand All @@ -35,6 +29,7 @@ pre_configure() {
mkdir -p build
cd build
../bootstrap --no-system-libs \
--generator=Ninja \
${XBPS_MAKEJOBS:+--parallel=$XBPS_MAKEJOBS}
# Make sure build directory is clean
for f in *; do
Expand Down

0 comments on commit 6f728f0

Please sign in to comment.