head	1.6;
access;
symbols
	pkgsrc-2026Q3:1.6.0.12
	pkgsrc-2026Q3-base:1.6
	pkgsrc-2026Q2:1.6.0.10
	pkgsrc-2026Q2-base:1.6
	pkgsrc-2026Q1:1.6.0.8
	pkgsrc-2026Q1-base:1.6
	pkgsrc-2025Q4:1.6.0.6
	pkgsrc-2025Q4-base:1.6
	pkgsrc-2025Q3:1.6.0.4
	pkgsrc-2025Q3-base:1.6
	pkgsrc-2025Q2:1.6.0.2
	pkgsrc-2025Q2-base:1.6
	pkgsrc-2025Q1:1.5.0.14
	pkgsrc-2025Q1-base:1.5
	pkgsrc-2024Q4:1.5.0.12
	pkgsrc-2024Q4-base:1.5
	pkgsrc-2024Q3:1.5.0.10
	pkgsrc-2024Q3-base:1.5
	pkgsrc-2024Q2:1.5.0.8
	pkgsrc-2024Q2-base:1.5
	pkgsrc-2024Q1:1.5.0.6
	pkgsrc-2024Q1-base:1.5
	pkgsrc-2023Q4:1.5.0.4
	pkgsrc-2023Q4-base:1.5
	pkgsrc-2023Q3:1.5.0.2
	pkgsrc-2023Q3-base:1.5
	pkgsrc-2023Q2:1.4.0.8
	pkgsrc-2023Q2-base:1.4
	pkgsrc-2023Q1:1.4.0.6
	pkgsrc-2023Q1-base:1.4
	pkgsrc-2022Q4:1.4.0.4
	pkgsrc-2022Q4-base:1.4
	pkgsrc-2022Q3:1.4.0.2
	pkgsrc-2022Q3-base:1.4
	pkgsrc-2022Q2:1.3.0.16
	pkgsrc-2022Q2-base:1.3
	pkgsrc-2022Q1:1.3.0.14
	pkgsrc-2022Q1-base:1.3
	pkgsrc-2021Q4:1.3.0.12
	pkgsrc-2021Q4-base:1.3
	pkgsrc-2021Q3:1.3.0.10
	pkgsrc-2021Q3-base:1.3
	pkgsrc-2021Q2:1.3.0.8
	pkgsrc-2021Q2-base:1.3
	pkgsrc-2021Q1:1.3.0.6
	pkgsrc-2021Q1-base:1.3
	pkgsrc-2020Q4:1.3.0.4
	pkgsrc-2020Q4-base:1.3
	pkgsrc-2020Q3:1.3.0.2
	pkgsrc-2020Q3-base:1.3
	pkgsrc-2020Q2:1.1.0.6
	pkgsrc-2020Q2-base:1.1
	pkgsrc-2020Q1:1.1.0.2
	pkgsrc-2020Q1-base:1.1
	pkgsrc-2019Q4:1.1.0.4
	pkgsrc-2019Q4-base:1.1;
locks; strict;
comment	@# @;


1.6
date	2025.04.11.14.02.46;	author adam;	state Exp;
branches;
next	1.5;
commitid	dyEC5TSvPHPeIDQF;

1.5
date	2023.07.18.14.11.14;	author nia;	state Exp;
branches;
next	1.4;
commitid	fR53LOgFr7LO6ixE;

1.4
date	2022.08.17.13.38.30;	author tnn;	state Exp;
branches;
next	1.3;
commitid	zdCvJxYIdNCaHeQD;

1.3
date	2020.07.31.12.35.27;	author maya;	state Exp;
branches;
next	1.2;
commitid	nv6AtmeisLqIleiC;

1.2
date	2020.07.31.09.02.31;	author wiz;	state Exp;
branches;
next	1.1;
commitid	QLBAoNvMZYTcbdiC;

1.1
date	2019.11.27.22.33.03;	author adam;	state Exp;
branches;
next	;
commitid	gQWvLYirjYLABxMB;


desc
@@


1.6
log
@cmake cmake-gui: updated to 3.31.7

CMake 3.31.7
* Tests: Teach RunCMake to ignore GNU ld --warn-rwx-segments warnings
* cmCurl: Avoid using undocumented type for CURLOPT_NETRC values
* MSVC: Split C++23 flag selection into dedicated block
* file(MAKE_DIRECTORY): Do not make directories for command keywords
* file(MAKE_DIRECTORY): Clarify formatting of unexpected arguments error
* cmXCodeObject: Drop unused CoreFoundation header
* cmake-gui: Fix regression that prints an incidental error on fresh build trees
* MARMASM: Fix loading linker information
* Linker: Honor CMAKE_<LANG>_LINK_LIBRARY_USING_FEATURE_SUPPORTED when FALSE
* Linker: Save linker inspection results with compiler inspection results
* Linker: Save GNU push-/pop-state detection with compiler inspection results
* Linker: Detect GNU push-state/pop-state flags more robustly
* CUDAToolkit: Restore ability to find cupti library
* Help: Add 3.31 release note for CMAKE_CONFIG_DIR
* macOS: Define _DARWIN_C_SOURCE in more sources
* Source: Include specific CoreFoundation headers instead of umbrella header
@
text
@# $NetBSD: Makefile.common,v 1.5 2023/07/18 14:11:14 nia Exp $
# used by devel/cmake-gui/Makefile
# used by devel/cmake-mode/Makefile

.include "version.mk"

DISTNAME=	cmake-${CMAKE_VERSION}
CATEGORIES=	devel
MASTER_SITES=	https://cmake.org/files/v${CMAKE_API}/

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://www.cmake.org/
LICENSE=	modified-bsd

DISTINFO_FILE=	${.CURDIR}/../../devel/cmake/distinfo
PATCHDIR=	${.CURDIR}/../../devel/cmake/patches

USE_CXX_FEATURES=	c++11
USE_LANGUAGES=		c c++

# Workaround issue in NetBSD before stdio.h r1.35 (NetBSD 9_STABLE)
CXXFLAGS.NetBSD+=	-D_NETBSD_SOURCE
@


1.5
log
@devel: Adapt packages to use USE_(CC|CXX)_FEATURES
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.4 2022/08/17 13:38:30 tnn Exp $
d18 2
a19 3
USE_LANGUAGES=	c c++

USE_CXX_FEATURES+=	c++11
@


1.4
log
@cmake: don't install the emacs mode

devel/cmake-mode provides the emacs mode, with the emacs pkgsrc integration
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.3 2020/07/31 12:35:27 maya Exp $
d18 3
a20 1
USE_LANGUAGES=	c c++11
@


1.3
log
@cmake: fix build on NetBSD releases such as 9.0.

NetBSD stdio.h has a bug with visibility of functions, so we get errors:
 error: '::vscanf' has not been declared

Define the other macro that can reach these definitions.

Issue already fixed by joerg in NetBSD stdio.h r1.35.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.2 2020/07/31 09:02:31 wiz Exp $
d3 1
@


1.2
log
@cmake: update to 3.18.1.

Some of the more significant changes in CMake 3.18 are:

* The “CUDA” language can now be compiled using Clang on non-Windows platforms.
  Separable compilation is not yet supported on any platform.
* “cmake(1)” gained support for profiling of CMake scripts through the
  parameters “–profiling-output” and “–profiling-format”.
* The “add_library()” and “add_executable()” commands learned to
  create Alias Targets referencing non-“GLOBAL” Imported Targets.
* The “cmake_language()” command was added for meta-operations on
  scripted or built-in commands, starting with a mode to “CALL” other
  commands, and “EVAL CODE” to inplace evaluate a CMake script.
* The “file(CONFIGURE)” subcommand was created in order to replicate
  the “configure_file()” functionality without resorting to a pre-
  existing file on disk as input. The content is instead passed as a
  string.
* The “find_program()”, “find_library()”, “find_path()” and
  “find_file()” commands gained a new “REQUIRED” option that will stop
  processing with an error message if nothing is found.
* A “CMAKE_CUDA_ARCHITECTURES” variable was added to specify CUDA
  output architectures. Users are encouraged to use this instead of
  specifying options manually, as this approach is compiler-agnostic.
  The variable is initialized automatically when
  “CMAKE_CUDA_COMPILER_ID” is “NVIDIA”. The variable is used to
  initialize the new “CUDA_ARCHITECTURES” target property. See policy
  “CMP0104”.
* The “UNITY_BUILD_MODE” target property was added to tell generators
  which algorithm (“BATCH”, “GROUP”) to use for grouping included source
  files.
* The “CheckLinkerFlag” module has been added to provide a facility to
  check validity of link flags.
* The “$<DEVICE_LINK:…>” and “$<HOST_LINK:…>” “generator
  expressions” were added to manage device and host link steps.
* The “$<LINK_LANGUAGE:…>” and “$<LINK_LANG_AND_ID:…>” “generator expressions” were added.
* “ctest(1)” gained a new “CTEST_RESOURCE_SPEC_FILE” variable, which
  can be used to specify a resource specification file.
* “ccmake(1)” learned to read a “CCMAKE_COLORS” environment variable
  to customize colors.
* On Windows, the “Ninja” and “Ninja Multi-Config” generators, when a
  compiler is not explicitly specified, now select the first compiler
  (of any name) found in directories listed by the “PATH” environment
  variable.
@
text
@d1 1
a1 1
# $NetBSD: Makefile.common,v 1.1 2019/11/27 22:33:03 adam Exp $
d18 3
@


1.1
log
@cmake: add Makefile.common
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
a4 1
.include "Makefile.version"
@

