Date: Sun, 8 Jan 2023 21:36:19 GMT From: Adriaan de Groot <adridg@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 62a77ff2da9e - main - sysutils/lizardfs: fix configure step Message-ID: <202301082136.308LaJGj034645@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=62a77ff2da9eb5d51e2ea202a03d741b4f05cf3f commit 62a77ff2da9eb5d51e2ea202a03d741b4f05cf3f Author: Adriaan de Groot <adridg@FreeBSD.org> AuthorDate: 2022-12-24 22:27:31 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2023-01-08 21:35:12 +0000 sysutils/lizardfs: fix configure step --- sysutils/lizardfs/files/patch-cmake_CheckIncludes.cmake | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sysutils/lizardfs/files/patch-cmake_CheckIncludes.cmake b/sysutils/lizardfs/files/patch-cmake_CheckIncludes.cmake new file mode 100644 index 000000000000..0dfe41ad59fb --- /dev/null +++ b/sysutils/lizardfs/files/patch-cmake_CheckIncludes.cmake @@ -0,0 +1,13 @@ +--- cmake/CheckIncludes.cmake.orig 2022-12-24 21:43:32 UTC ++++ cmake/CheckIncludes.cmake +@@ -3,7 +3,9 @@ include(CheckIncludeFiles) + function(check_includes INCLUDES) + set(INCLUDE_MISSING FALSE) + foreach(INCLUDE_FILE ${INCLUDES}) +- check_include_files(${INCLUDE_FILE} ${INCLUDE_FILE}_FOUND) ++ string(MAKE_C_IDENTIFIER "${INCLUDE_FILE}" c_include) ++ check_include_files(${INCLUDE_FILE} ${c_include}_FOUND) ++ set(${INCLUDE_FILE}_FOUND ${${c_include}_FOUND}) + if(NOT ${INCLUDE_FILE}_FOUND) + set(INCLUDE_MISSING TRUE) + set(MISSING_INCLUDES ${MISSING_INCLUDES} ${INCLUDE_FILE})
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301082136.308LaJGj034645>