head 1.11; access; symbols pkgsrc-2016Q3:1.10.0.2 pkgsrc-2016Q3-base:1.10 pkgsrc-2016Q2:1.9.0.6 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.4 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.2 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.8.0.10 pkgsrc-2015Q3-base:1.8 pkgsrc-2015Q2:1.8.0.8 pkgsrc-2015Q2-base:1.8 pkgsrc-2015Q1:1.8.0.6 pkgsrc-2015Q1-base:1.8 pkgsrc-2014Q4:1.8.0.4 pkgsrc-2014Q4-base:1.8 pkgsrc-2014Q3:1.8.0.2 pkgsrc-2014Q3-base:1.8 pkgsrc-2014Q2:1.7.0.4 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.2 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.5.0.2 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.1.0.4 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.2 pkgsrc-2013Q2-base:1.1; locks; strict; comment @// @; 1.11 date 2016.11.12.07.49.18; author adam; state dead; branches; next 1.10; commitid rDH57jGifKxtoOtz; 1.10 date 2016.08.03.15.53.38; author prlw1; state Exp; branches; next 1.9; commitid ivbYJeSohG88jSgz; 1.9 date 2015.11.17.12.12.11; author wiz; state Exp; branches; next 1.8; commitid qOOSfZ2j4D97srJy; 1.8 date 2014.07.18.10.00.18; author ryoon; state Exp; branches; next 1.7; commitid 6POg0OnA9XmdnQIx; 1.7 date 2014.03.25.07.11.52; author asau; state Exp; branches; next 1.6; commitid ZOHkBPdZEbiQ83ux; 1.6 date 2014.03.24.20.42.11; author asau; state Exp; branches; next 1.5; commitid gTIwJEf29vVAEZtx; 1.5 date 2013.10.25.10.49.23; author obache; state Exp; branches; next 1.4; commitid 84zwb0hPJiQ6cFax; 1.4 date 2013.10.24.04.50.57; author obache; state Exp; branches; next 1.3; commitid I2HGRT1bFYxxdvax; 1.3 date 2013.10.19.08.04.34; author adam; state Exp; branches; next 1.2; commitid bVCTE0ZjxCHOtS9x; 1.2 date 2013.10.17.14.42.46; author adam; state Exp; branches; next 1.1; commitid Tk8TKWrN968hKE9x; 1.1 date 2013.06.03.08.45.27; author jperkin; state Exp; branches; next ; commitid n2MVch6nGYXJ89Sw; desc @@ 1.11 log @Some of the more significant changes in CMake 3.7 are: CMake now supports Cross Compiling for Android with simple toolchain files. The “Ninja” generator learned to conditionally support Fortran when using a “ninja” tool that has the necessary features. See generator documentation for details. The “if()” command gained new boolean comparison operations “LESS_EQUAL”, “GREATER_EQUAL”, “STRLESS_EQUAL”, “STRGREATER_EQUAL”, “VERSION_LESS_EQUAL”, and “VERSION_GREATER_EQUAL”. The “try_compile()” command source file signature now honors configuration-specific flags (e.g. “CMAKE__FLAGS_DEBUG”) in the generated test project. Previously only the default such flags for the current toolchain were used. See policy “CMP0066”. “Toolchain files” may now set “CMAKE_EXE_LINKER_FLAGS_INIT”, “CMAKE_SHARED_LINKER_FLAGS_INIT”, and “CMAKE_MODULE_LINKER_FLAGS_INIT” variables to initialize the “CMAKE_EXE_LINKER_FLAGS”, “CMAKE_SHARED_LINKER_FLAGS”, and “CMAKE_MODULE_LINKER_FLAGS” cache entries the first time a language is enabled in a build tree. CTest now supports test fixtures through the new “FIXTURES_SETUP”, “FIXTURES_CLEANUP” and “FIXTURES_REQUIRED” test properties. When using regular expressions or “–rerun-failed” to limit the tests to be run, a fixture’s setup and cleanup tests will automatically be added to the execution set if any test requires that fixture. We no longer provide Linux i386 binaries for download from “cmake.org” for new versions of CMake. Vim support files “cmake-indent.vim”, “cmake-syntax.vim”, and “cmake-help.vim” have been removed in favor of the files now provided from the vim-cmake-syntax project. Support for building CMake itself with some compilers was dropped: Visual Studio 7.1 and 2005 — superseded by VS 2008 and above MinGW.org mingw32 — superseded by MSYS2 mingw32 and mingw64 CMake still supports generating build systems for other projects using these compilers. @ text @$NetBSD: patch-Source_kwsys_SystemInformation.cxx,v 1.10 2016/08/03 15:53:38 prlw1 Exp $ * Add more conditional handling for NetBSD, same as others. * Treat FreeBSD and DragonFly the same way as NetBSD and OpenBSD. * Treat Solaris same as Linux. --- Source/kwsys/SystemInformation.cxx.orig 2015-11-12 15:39:51.000000000 +0000 +++ Source/kwsys/SystemInformation.cxx @@@@ -80,9 +80,9 @@@@ typedef int siginfo_t; # undef _WIN32 #endif -#ifdef __FreeBSD__ +#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) +# include # include -# include # include # include # include @@@@ -90,11 +90,15 @@@@ typedef int siginfo_t; # include # define KWSYS_SYSTEMINFORMATION_IMPLEMENT_FQDN # endif -#endif - -#if defined(__OpenBSD__) || defined(__NetBSD__) -# include -# include +# if defined(KWSYS_SYSTEMINFORMATION_HAS_BACKTRACE) +# include +# if defined(KWSYS_SYSTEMINFORMATION_HAS_CPP_DEMANGLE) +# include +# endif +# if defined(KWSYS_SYSTEMINFORMATION_HAS_SYMBOL_LOOKUP) +# include +# endif +# endif #endif #if defined(KWSYS_SYS_HAS_MACHINE_CPU_H) @@@@ -124,7 +128,7 @@@@ typedef int siginfo_t; # endif #endif -#ifdef __linux +#if defined(__linux) || defined (__sun) || defined(_SCO_DS) # include # include # include @ 1.10 log @According to Brad King, cmake developer, who kindly reviewed our patches: The SIZEOF_VOID_P macro is defined by code in CMakeLists.txt using the value of CMAKE_SIZEOF_VOID_P. The former is a C++ preprocessor macro. The latter is only visible in CMake code. @ text @d1 1 a1 1 $NetBSD: patch-Source_kwsys_SystemInformation.cxx,v 1.9 2015/11/17 12:12:11 wiz Exp $ @ 1.9 log @Update cmake to 3.4.0: CMake 3.4 Release Notes *********************** Changes made since CMake 3.3 include the following. New Features ============ Generators ---------- * The :generator:`Visual Studio 14 2015` generator learned to select a Windows 10 SDK based on the value of the :variable:`CMAKE_SYSTEM_VERSION` variable and the SDKs available on the host. * CMake learned rudimentary support for the Apple Swift language. When using the :generator:`Xcode` generator with Xcode 6.1 or higher, one may enable the ``Swift`` language with the :command:`enable_language` command or the :command:`project` command (this is an error with other generators or when Xcode is too old). Then one may list ``.swift`` source files in targets for compilation. Commands -------- * The :command:`find_program` command learned a ``NAMES_PER_DIR`` option to consider all given ``NAMES`` in each directory before moving on to the next directory. * The :command:`get_filename_component` command learned a new ``BASE_DIR`` subcommand. This is used to specify a base directory when calculating an absolute path from a relative path. * The :command:`if` command learned a new ``TEST`` operator that evaluates to true if a given test name has been defined by the :command:`add_test` command. See policy :policy:`CMP0064`. * The :command:`install(DIRECTORY)` command ``DESTINATION`` option learned to support :manual:`generator expressions `. * The :command:`install(FILES)` command ``DESTINATION`` option learned to support :manual:`generator expressions `. * The :command:`string` command learned a new ``APPEND`` subcommand. Variables --------- * The :ref:`Makefile Generators` and the :generator:`Ninja` generator learned to add compiler launcher tools like distcc and ccache along with the compiler for ``C`` and ``CXX`` languages. See the :variable:`CMAKE__COMPILER_LAUNCHER` variable and :prop_tgt:`_COMPILER_LAUNCHER` target property for details. * New :variable:`CMAKE_LINK_SEARCH_START_STATIC` and :variable:`CMAKE_LINK_SEARCH_END_STATIC` variables were introduced to initialize the :prop_tgt:`LINK_SEARCH_START_STATIC` and :prop_tgt:`LINK_SEARCH_END_STATIC` target properties, respectively. Properties ---------- * :ref:`Visual Studio Generators` learned to support additonal target properties to customize projects for NVIDIA Nsight Tegra Visual Studio Edition: * :prop_tgt:`ANDROID_ANT_ADDITIONAL_OPTIONS` * :prop_tgt:`ANDROID_ARCH` * :prop_tgt:`ANDROID_ASSETS_DIRECTORIES` * :prop_tgt:`ANDROID_JAR_DEPENDENCIES` * :prop_tgt:`ANDROID_JAR_DIRECTORIES` * :prop_tgt:`ANDROID_JAVA_SOURCE_DIR` * :prop_tgt:`ANDROID_NATIVE_LIB_DEPENDENCIES` * :prop_tgt:`ANDROID_NATIVE_LIB_DIRECTORIES` * :prop_tgt:`ANDROID_PROCESS_MAX` * :prop_tgt:`ANDROID_PROGUARD` * :prop_tgt:`ANDROID_PROGUARD_CONFIG_PATH` * :prop_tgt:`ANDROID_SECURE_PROPS_PATH` * :prop_tgt:`ANDROID_SKIP_ANT_STEP` * :prop_tgt:`ANDROID_STL_TYPE` * The :prop_tgt:`ARCHIVE_OUTPUT_DIRECTORY`, :prop_tgt:`LIBRARY_OUTPUT_DIRECTORY`, and :prop_tgt:`RUNTIME_OUTPUT_DIRECTORY` target properties learned to support :manual:`generator expressions `. * The :prop_tgt:`SOURCE_DIR` and :prop_tgt:`BINARY_DIR` target properties were introduced to allow project code to query where a target is defined. * The :prop_tgt:`OUTPUT_NAME` target property and its variants learned to support :manual:`generator expressions `. * A :prop_gbl:`TARGET_MESSAGES` global property was added to tell the :ref:`Makefile Generators` whether to generate commands to print output after each target is completed. * On Windows with MS-compatible tools, CMake learned to optionally generate a module definition (``.def``) file for ``SHARED`` libraries. See the :prop_tgt:`WINDOWS_EXPORT_ALL_SYMBOLS` target property. Modules ------- * The :module:`ExternalProject` module :command:`ExternalProject_Add` function ``GIT_SUBMODULES`` option now also limits the set of submodules that are initialized in addition to the prior behavior of limiting the set of submodules that are updated. * The :module:`ExternalProject` module learned new ``USES_TERMINAL`` arguments for giving steps exclusive terminal access. This is useful with the :generator:`Ninja` generator to monitor CMake superbuild progress and prevent CPU oversubscription. * The :module:`FindBISON` module ``BISON_TARGET`` macro learned a new ``DEFINES_FILE`` option to specify a custom output header to be generated. * The :module:`FindHDF5` module learend a new ``HDF5_PREFER_PARALLEL`` option allowing users to specify that a parallel HDF5 tool is preferred if both are available. * The :module:`FindIce` module now provides imported targets. * The :module:`FindJava` module learned to optionally find the ``idlj`` and ``jarsigner`` tools. * The :module:`FindOpenSSL` module now provides imported targets. * The :module:`FindOpenSSL` module learned a new ``OPENSSL_USE_STATIC_LIBS`` option to search only for static libraries. * The :module:`FindPkgConfig` learned a new :command:`pkg_get_variable` command which may be used to query for arbitrary variables from a package (such as for related tools or data and plugin install paths). * The :module:`FindProtobuf` module gained a new :command:`protobuf_generate_python` function to generate python sources from ``.proto`` files. * The :module:`FindTIFF` module learned to search separately for debug and release variants. * The :module:`FindwxWidgets` module learned to support version requests. * The :module:`FindXercesC` module learned to search separately for debug and release variants. * The :module:`FindZLIB` module learned to search separately for debug and release variants. * The :module:`GNUInstallDirs` module learned special default values for certain installation prefixes according to the `GNU Coding Standards`_ and the `Filesystem Hierarchy Standard`_. * The :module:`UseJava` module ``add_jar`` function learned to support response files (e.g. ``@@srcs.txt``) for source specification. * The :module:`UseJava` module ``install_jar`` function learned new ``DESTINATION`` and ``COMPONENT`` options to specify the corresponding :command:`install` command options. * The :module:`UseJava` module gained a new ``create_javah`` function to create C headers from Java classes. .. _`GNU Coding Standards`: https://www.gnu.org/prep/standards/html_node/Directory-Variables.html .. _`Filesystem Hierarchy Standard`: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html Generator Expressions --------------------- * A new ``$`` :manual:`generator expression ` has been added. CTest ----- * CTest learned to optionally measure the CPU load during parallel testing and avoid starting tests that may cause the load to exceed a given threshold. See the :manual:`ctest(1)` command ``--test-load`` option, the ``TestLoad`` setting of the :ref:`CTest Test Step`, the :variable:`CTEST_TEST_LOAD` variable, and the ``TEST_LOAD`` option of the :command:`ctest_test` command. * :manual:`ctest(1)` learned options ``--test-output-size-passed`` and ``--test-output-size-failed`` to customize the limit on test output size submitted when running as a :ref:`Dashboard Client`. CPack ----- * The :module:`CPackDeb` module learned to set package dependencies per component. See variables: * :variable:`CPACK_DEBIAN__PACKAGE_BREAKS` * :variable:`CPACK_DEBIAN__PACKAGE_CONFLICTS` * :variable:`CPACK_DEBIAN__PACKAGE_ENHANCES` * :variable:`CPACK_DEBIAN__PACKAGE_PREDEPENDS` * :variable:`CPACK_DEBIAN__PACKAGE_PROVIDES` * :variable:`CPACK_DEBIAN__PACKAGE_RECOMMENDS` * :variable:`CPACK_DEBIAN__PACKAGE_REPLACES` * :variable:`CPACK_DEBIAN__PACKAGE_SUGGESTS` * The :module:`CPack` module learned to package empty directories. * The :module:`CPack` module gained a new setting, ``CPACK_VERBATIM_VARIABLES``, which can be used to ensure the cpack program receives the settings' values exactly as they were set, even if they contain CMake-special characters. For compatibility, it's off by default. Other ----- * The :manual:`Compile Features ` functionality is now aware of features supported by GNU C compilers on Windows. * CMake learned to honor ``*.manifest`` source files with MSVC tools. Manifest files named as sources of ``.exe`` and ``.dll`` targets will be merged with linker-generated manifests and embedded in the binary. * The `Concurrent Fortran 77 `__ compiler is now supported. Its :variable:`compiler id _COMPILER_ID>` is ``CCur``. * :manual:`cmake(1)` gained a new ``--trace-expand`` command line option that is like ``--trace`` but expands variable references in the output. Deprecated and Removed Features =============================== * The :module:`CMakeExpandImportedTargets` module is now documented as deprecated. See module documentation for an explanation. * The :variable:`CMAKE_USE_RELATIVE_PATHS` variable no longer has any effect. Previously it was partially implemented and unreliable. Other Changes ============= * The :module:`CheckFunctionExists`, :module:`CheckLibraryExists`, :module:`CheckSymbolExists`, and :module:`FindThreads` modules learned to work in environments where only CXX is enabled. * The :module:`CPackDeb` module now correctly excludes symlinks during package checksum calculation. * The :module:`CPackDeb` no longer uses fakeroot and system tar program for packaging. * The :module:`CPack` module no longer mangles settings with CMake-special characters when they're used as defaults for other settings. The macro ``cpack_set_if_not_set``, which was responsible for this, is now deprecated. * CMake no longer links executables with flags to export symbols unless the :prop_tgt:`ENABLE_EXPORTS` target property is set. See policy :policy:`CMP0065`. * The ``SONAME`` field is no longer set for ``MODULE`` libraries created with the :command:`add_library` command. ``MODULE`` libraries are meant for explicit dynamic loading at runtime. They cannot be linked so ``SONAME`` is not useful. * The internal :variable:`CMAKE__COMPILE_OBJECT` rule variable now substitutes compiler include flags in a separate ```` placeholder instead of the main ```` placeholder. @ text @d1 1 a1 1 $NetBSD: patch-Source_kwsys_SystemInformation.cxx,v 1.8 2014/07/18 10:00:18 ryoon Exp $ a5 1 * Use correct cmake define. a50 9 @@@@ -4741,7 +4745,7 @@@@ bool SystemInformationImplementation::Qu // a 32 bit process on a 64 bit host the returned memory will be // limited to 4GiB. So if this is a 32 bit process or if the sysconf // method fails use the kstat interface. -#if SIZEOF_VOID_P == 8 +#if CMAKE_SIZEOF_VOID_P == 8 if (this->QueryMemoryBySysconf()) { return true; @ 1.8 log @Fix SCO OpenServer 5.0.7/3.2 build really. Treat SCO_SV as SysV. @ text @d1 1 a1 1 $NetBSD: patch-Source_kwsys_SystemInformation.cxx,v 1.7 2014/03/25 07:11:52 asau Exp $ d8 1 a8 1 --- Source/kwsys/SystemInformation.cxx.orig 2014-01-16 17:15:08.000000000 +0000 d10 2 a11 2 @@@@ -78,9 +78,9 @@@@ typedef int siginfo_t; # include // extern int errno; d22 1 a22 1 @@@@ -88,11 +88,15 @@@@ typedef int siginfo_t; d43 1 a43 1 @@@@ -130,7 +134,7 @@@@ typedef int siginfo_t; d52 1 a52 1 @@@@ -4616,7 +4620,7 @@@@ bool SystemInformationImplementation::Qu @ 1.7 log @Treat DragonFly the same way as FreeBSD. This fixes build on DragonFly 3.7 as reported by David Shao in PR pkg/48660. @ text @d1 1 a1 1 $NetBSD: patch-Source_kwsys_SystemInformation.cxx,v 1.6 2014/03/24 20:42:11 asau Exp $ d48 1 a48 1 +#if defined(__linux) || defined (__sun) @ 1.6 log @Treat NetBSD, FreeBSD, and OpenBSD uniformly. This fixes build on FreeBSD 10 (tested by Youri Mouton) and 9.1. @ text @d1 1 a1 1 $NetBSD$ d4 1 a4 1 * Treat FreeBSD the same way as NetBSD and OpenBSD. d15 1 a15 1 +#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) @ 1.5 log @Add conditions for NetBSD, especially fixes build on NetBSD-current. @ text @d1 1 a1 1 $NetBSD: patch-Source_kwsys_SystemInformation.cxx,v 1.4 2013/10/24 04:50:57 obache Exp $ d4 1 d8 1 a8 1 --- Source/kwsys/SystemInformation.cxx.orig 2013-10-07 15:31:00.000000000 +0000 d10 7 a16 3 @@@@ -93,6 +93,22 @@@@ typedef int siginfo_t; #if defined(__OpenBSD__) || defined(__NetBSD__) # include d18 13 a30 7 +# include +# include +# include +# if defined(KWSYS_SYS_HAS_IFADDRS_H) +# include +# define KWSYS_SYSTEMINFORMATION_IMPLEMENT_FQDN +# endif d43 1 a43 1 @@@@ -130,7 +146,7 @@@@ typedef int siginfo_t; d52 1 a52 1 @@@@ -4616,7 +4632,7 @@@@ bool SystemInformationImplementation::Qu @ 1.4 log @Remove patch for NetBSD to ride on Linux condition. NetBSD condition exists since 2.8.11, and current linux condition part including fenv.h, it does not exist on NetBSD<6 and not usable except arm, i386, sparc and x86_64 even on NetBSD-current. @ text @d1 1 a1 1 $NetBSD: patch-Source_kwsys_SystemInformation.cxx,v 1.3 2013/10/19 08:04:34 adam Exp $ d3 3 a5 1 Use correct cmake define. d9 24 a32 1 @@@@ -130,7 +130,7 @@@@ typedef int siginfo_t; d41 1 a41 1 @@@@ -4616,7 +4616,7 @@@@ bool SystemInformationImplementation::Qu @ 1.3 log @Fix building on SunOS @ text @d1 1 a1 1 $NetBSD: patch-Source_kwsys_SystemInformation.cxx,v 1.2 2013/10/17 14:42:46 adam Exp $ d12 1 a12 1 +#if defined(__linux) || defined(__NetBSD__) || defined (__sun) @ 1.2 log @Changes 2.8.12: Xcode: Fix test architecture selection for Xcode >= 5 Xcode: Teach Tests/BuildDepends to allow LINK_DEPENDS_NO_SHARED failure Xcode: Drop XCODE_DEPEND_HELPER for Xcode >= 5 Xcode: Fix OBJECT library support for Xcode 5 (#14254) Genex: Fix processing multiple include directories for relative paths More... @ text @d1 1 a1 1 $NetBSD: patch-Source_kwsys_SystemInformation.cxx,v 1.1 2013/06/03 08:45:27 jperkin Exp $ d12 1 a12 1 +#if defined(__linux) || defined(__NetBSD__) @ 1.1 log @Use the correct CMake define, from wiz. Fixes SunOS build. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- Source/kwsys/SystemInformation.cxx.orig 2013-05-15 17:38:13.000000000 +0000 d7 10 a16 1 @@@@ -4300,7 +4300,7 @@@@ bool SystemInformationImplementation::Qu @