git: cc03c9786884 - 2025Q4 - graphics/openexr: avoid _d suffix WITH_DEBUG

From: Matthias Andree <mandree_at_FreeBSD.org>
Date: Tue, 28 Oct 2025 18:19:06 UTC
The branch 2025Q4 has been updated by mandree:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cc03c97868849608338490a8cd441b3f641ceea4

commit cc03c97868849608338490a8cd441b3f641ceea4
Author:     Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2025-10-28 08:00:34 +0000
Commit:     Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2025-10-28 17:58:14 +0000

    graphics/openexr: avoid _d suffix WITH_DEBUG
    
    Apparently broken with upstream commit
    https://github.com/AcademySoftwareFoundation/openexr/commit/848f84ae7504adcd89ec0da182499d5cd4e3b245
    
    Might fix
    PR:             290615
    MFH:            2025Q4
    
    No PORTREVISION bump because packaging fails if the issue strikes.
    
    (cherry picked from commit fc6615ea1d1b9219382e56dd9a17864115a2bfaa)
---
 graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake b/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake
new file mode 100644
index 000000000000..93adc0ce4eb9
--- /dev/null
+++ b/graphics/openexr/files/patch-cmake_OpenEXRSetup.cmake
@@ -0,0 +1,12 @@
+--- cmake/OpenEXRSetup.cmake.orig	2025-10-07 15:22:39 UTC
++++ cmake/OpenEXRSetup.cmake
+@@ -100,9 +100,6 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
+ # Suffix for debug configuration libraries
+ # (if you should choose to install those)
+ # Don't override if the user has set it and don't save it in the cache
+-if (NOT CMAKE_DEBUG_POSTFIX)
+-  set(CMAKE_DEBUG_POSTFIX "_d")
+-endif()
+ 
+ if(NOT OPENEXR_IS_SUBPROJECT)
+   # Usual cmake option to build shared libraries or not, only overridden if OpenEXR is a top level project,