head 1.3; access; symbols; locks; strict; comment @# @; 1.3 date 2025.02.19.17.28.11; author gutteridge; state dead; branches; next 1.2; commitid cAdt3nZwFFQsu6KF; 1.2 date 2025.02.07.14.24.42; author wiz; state Exp; branches; next 1.1; commitid JxgE9plKd8GvRxIF; 1.1 date 2025.02.07.14.01.11; author wiz; state Exp; branches; next ; commitid aEyCNR2NPKatJxIF; desc @@ 1.3 log @kdiff3: remove patch missed in previous commit @ text @$NetBSD: patch-src_CMakeLists.txt,v 1.2 2025/02/07 14:24:42 wiz Exp $ CMake Error at src/CMakeLists.txt:83 (if): if given arguments: "ENABLE_GDBINDEX" "AND" "NetBSD" "MATCHES" "Linux" "AND" "STREQUAL" "Debug" Unknown arguments specified https://invent.kde.org/sdk/kdiff3/-/issues/51 --- src/CMakeLists.txt.orig 2025-02-07 13:55:19.772490605 +0000 +++ src/CMakeLists.txt @@@@ -80,7 +80,7 @@@@ if(APPLE) set(MACOSX_BUNDLE_COPYRIGHT "2003- The KDiff3 Authors") endif() -if(ENABLE_GDBINDEX AND ${CMAKE_SYSTEM_NAME} MATCHES "Linux" AND ${CMAKE_BUILD_TYPE} STREQUAL "Debug") +if(ENABLE_GDBINDEX AND ${CMAKE_SYSTEM_NAME} MATCHES "Linux" AND "${CMAKE_BUILD_TYPE}" STREQUAL "Debug") find_program(GDBINDEX "gdb-add-index") if(GDBINDEX) add_custom_command(TARGET kdiff3 POST_BUILD @ 1.2 log @kdiff3: rework patch and add upstream bug report URL @ text @d1 1 a1 1 $NetBSD: patch-src_CMakeLists.txt,v 1.1 2025/02/07 14:01:11 wiz Exp $ @ 1.1 log @kdiff3: fix build @ text @d1 1 a1 1 $NetBSD$ d10 2 d19 1 a19 1 +if(FALSE) @