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)
This commit is contained in:
Daniel Engberg 2023-01-19 21:06:49 +01:00
parent 26d35c8e07
commit 3774476f81
1 changed files with 4 additions and 0 deletions

View File

@ -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 <bsd.port.mk>