head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.6 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.4 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.2 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.1.0.4 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.2 pkgsrc-2025Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2025.08.18.07.34.38; author wiz; state Exp; branches; next 1.1; commitid kKYoMYXjLm0dqb7G; 1.1 date 2025.01.31.15.49.47; author wiz; state Exp; branches; next ; commitid EuSLylPkbaPCyEHF; desc @@ 1.2 log @openbabel: fix build with cmake 4 @ text @$NetBSD: patch-CMakeLists.txt,v 1.1 2025/01/31 15:49:47 wiz Exp $ Remove obsolete variable. --- CMakeLists.txt.orig 2020-05-08 15:38:02.000000000 +0000 +++ CMakeLists.txt @@@@ -10,9 +10,6 @@@@ set (CMAKE_CXX_STANDARD 11) if(COMMAND cmake_policy) cmake_policy(SET CMP0003 NEW) - if(POLICY CMP0042) - cmake_policy(SET CMP0042 OLD) - endif() endif() include (CheckCXXCompilerFlag) @@@@ -344,7 +341,7 @@@@ elseif(HAVE_STD_TR1_SHARED_PTR_IN_TR1_HE else() find_package(Boost) if(Boost_FOUND) - include_directories(${Boost_INCLUDE_DIRS} ${Boost_INCLUDE_DIR}) + include_directories(${Boost_INCLUDE_DIRS}) add_definitions(-DUSE_BOOST -DHAVE_SHARED_POINTER) set(SHARED_POINTER true) else() @@@@ -357,7 +354,7 @@@@ message(STATUS "Use ${OB_SHARED_PTR_IMPL find_package(Boost COMPONENTS program_options iostreams) if(Boost_FOUND) - include_directories(${Boost_INCLUDE_DIRS} ${Boost_INCLUDE_DIR}) + include_directories(${Boost_INCLUDE_DIRS}) endif() # Intel C++ Compiler @@@@ -472,7 +469,7 @@@@ endif() find_package(Boost COMPONENTS filesystem iostreams unit_test_framework) if(Boost_FOUND) - include_directories(${Boost_INCLUDE_DIRS} ${Boost_INCLUDE_DIR}) + include_directories(${Boost_INCLUDE_DIRS}) option(WITH_MAEPARSER "Build Maestro support" ON) if(BUILD_SHARED) option(WITH_COORDGEN "Build Coordgen support" ON) @ 1.1 log @openbabel: fix build @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- CMakeLists.txt.orig 2025-01-31 15:47:24.131445152 +0000 d7 11 a17 1 @@@@ -344,7 +344,7 @@@@ elseif(HAVE_STD_TR1_SHARED_PTR_IN_TR1_HE d26 1 a26 1 @@@@ -357,7 +357,7 @@@@ message(STATUS "Use ${OB_SHARED_PTR_IMPL d35 1 a35 1 @@@@ -472,7 +472,7 @@@@ endif() @