1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Add patch to make the port build with CMake 3.4.0.

In preparation for PR 204629, add a patch (also sent upstream) to make the
port build with CMake 3.4.0 by explicitly including a module used by the
build system.
This commit is contained in:
Raphael Kubo da Costa 2015-11-26 11:03:49 +00:00
parent e7153fc2ec
commit 8b720b6fef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402434

View File

@ -0,0 +1,23 @@
Required for building with CMake 3.4.0.
Submitted via email directly to the upstream author.
commit 2624465f87d7782527ee82567fd3a4fdf4c54241
Author: Raphael Kubo da Costa <rakuco@FreeBSD.org>
Date: Thu Nov 26 11:58:11 2015 +0100
cmake: Explicitly include the CheckIncludeFiles module.
This fixes the build with CMake 3.4.0: kdbg/CMakeLists.txt was previously
relying on the module being included indirectly.
--- kdbg/CMakeLists.txt
+++ kdbg/CMakeLists.txt
@@ -4,6 +4,7 @@ add_subdirectory(typetables)
include_directories(${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
include(CheckFunctionExists)
+include(CheckIncludeFiles)
CHECK_INCLUDE_FILES(pty.h HAVE_PTY_H)
CHECK_INCLUDE_FILES(libutil.h HAVE_LIBUTIL_H)