head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2025.10.02.11.49.44; author nia; state Exp; branches; next ; commitid joTuSMKhX6GUnZcG; desc @@ 1.1 log @cmake39: Initial import. This version of cmake is intended for: - users who wish to compile software written before CMake 4. - developers who wish to test their software with an old cmake version to ensure maximum compatibility. - platforms which lack a C++11 compiler. - platforms which lack support for libuv (e.g. HP-UX). @ text @$NetBSD: patch-Modules_Platform_UnixPaths.cmake,v 1.1 2017/07/19 17:44:34 adam Exp $ Patch in pkgsrc paths for finding stuff. --- Modules/Platform/UnixPaths.cmake.orig 2017-07-18 15:22:54.000000000 +0000 +++ Modules/Platform/UnixPaths.cmake @@@@ -23,7 +23,7 @@@@ get_filename_component(_CMAKE_INSTALL_DI # search types. list(APPEND CMAKE_SYSTEM_PREFIX_PATH # Standard - /usr/local /usr / + @@LOCALBASE@@ /usr/local /usr / # CMake install location "${_CMAKE_INSTALL_DIR}" @@@@ -43,20 +43,20 @@@@ endif() # Non "standard" but common install prefixes list(APPEND CMAKE_SYSTEM_PREFIX_PATH - /usr/X11R6 - /usr/pkg + @@X11BASE@@ + @@LOCALBASE@@ /opt ) # List common include file locations not under the common prefixes. list(APPEND CMAKE_SYSTEM_INCLUDE_PATH # X11 - /usr/include/X11 + @@X11BASE@@/include ) list(APPEND CMAKE_SYSTEM_LIBRARY_PATH # X11 - /usr/lib/X11 + @@X11BASE@@/lib ) list(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES @