git: 3d54d5fff768 - main - graphics/h3: Use CMAKE_DISABLE_FIND_PACKAGE_<PackageName>
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Sep 2024 06:19:01 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3d54d5fff768f8408da7e972647a407330ba63ea
commit 3d54d5fff768f8408da7e972647a407330ba63ea
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:56:01 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:13:09 +0000
graphics/h3: Use CMAKE_DISABLE_FIND_PACKAGE_<PackageName>
- Cosmetic change
---
graphics/h3/Makefile | 16 ++++++++++++++--
graphics/h3/files/patch-CMakeLists.txt | 30 ------------------------------
2 files changed, 14 insertions(+), 32 deletions(-)
diff --git a/graphics/h3/Makefile b/graphics/h3/Makefile
index d000b0a212c1..709c9005eb7e 100644
--- a/graphics/h3/Makefile
+++ b/graphics/h3/Makefile
@@ -14,8 +14,20 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake
-CMAKE_OFF= BUILD_TESTING ENABLE_COVERAGE ENABLE_DOCS ENABLE_FORMAT ENABLE_LIBFUZZER ENABLE_LINTING H3_FUZZER_NO_MAIN WARNINGS_AS_ERRORS
-CMAKE_ON= BUILD_BENCHMARKS BUILD_FILTERS BUILD_FUZZERS BUILD_GENERATORS BUILD_SHARED_LIBS
+CMAKE_OFF= BUILD_TESTING \
+ ENABLE_COVERAGE \
+ ENABLE_DOCS \
+ ENABLE_FORMAT \
+ ENABLE_LIBFUZZER \
+ ENABLE_LINTING \
+ H3_FUZZER_NO_MAIN \
+ WARNINGS_AS_ERRORS
+CMAKE_ON= BUILD_BENCHMARKS \
+ BUILD_FILTERS \
+ BUILD_FUZZERS \
+ BUILD_GENERATORS \
+ BUILD_SHARED_LIBS \
+ CMAKE_DISABLE_FIND_PACKAGE_Doxygen
USE_GITHUB= yes
GH_ACCOUNT= uber
diff --git a/graphics/h3/files/patch-CMakeLists.txt b/graphics/h3/files/patch-CMakeLists.txt
deleted file mode 100644
index c5f730f01fb0..000000000000
--- a/graphics/h3/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,30 +0,0 @@
---- CMakeLists.txt.orig 2020-06-20 00:40:07 UTC
-+++ CMakeLists.txt
-@@ -274,27 +274,6 @@ elseif(NOT CLANG_TIDY_PATH)
- "so source code linting is disabled")
- endif()
-
--# Docs
--find_package(Doxygen)
--option(ENABLE_DOCS "Enable building documentation." ON)
--if(DOXYGEN_FOUND AND ENABLE_DOCS)
-- set_property(DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "${CMAKE_CURRENT_BINARY_DIR}/dev-docs/_build")
-- configure_file(dev-docs/Doxyfile.in
-- dev-docs/Doxyfile
-- ESCAPE_QUOTES
-- )
-- add_custom_target(docs
-- ALL
-- ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/dev-docs/Doxyfile
-- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/dev-docs
-- COMMENT "Generating API documentation with Doxygen" VERBATIM
-- )
--else()
-- add_custom_target(docs
-- echo "Doxygen was not installed when CMake was run or ENABLE_DOCS was OFF. Check that Doxygen is installed and rerun `cmake .`" VERBATIM
-- )
--endif()
--
- # Metadata for bindings
- if (WIN32)
- add_custom_target(binding-functions