From 3774476f812609db98bacab12b788e22bb4b5fc7 Mon Sep 17 00:00:00 2001 From: Daniel Engberg Date: Thu, 19 Jan 2023 21:06:49 +0100 Subject: [PATCH] graphics/png: Fix plist issue with DEBUG enabled Make sure filenames stay the same when using framework debug flag Reported by: bofh Approved by: portmgr (blanket, build fix) --- graphics/png/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/graphics/png/Makefile b/graphics/png/Makefile index d429e59d77e9..68b60d9274c5 100644 --- a/graphics/png/Makefile +++ b/graphics/png/Makefile @@ -48,4 +48,8 @@ CFLAGS+= -maltivec -mvsx PATCHFILES= ${DISTNAME}-apng.patch.gz:-p1 .endif +post-patch: + @${REINPLACE_CMD} -e 's|CMAKE_DEBUG_POSTFIX "d"|CMAKE_DEBUG_POSTFIX ""|g' \ + ${PATCH_WRKSRC}/CMakeLists.txt + .include