Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2023 20:14:49 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3774476f8126 - main - graphics/png: Fix plist issue with DEBUG enabled
Message-ID:  <202301192014.30JKEnoe025984@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

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

commit 3774476f812609db98bacab12b788e22bb4b5fc7
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-01-19 20:06:49 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-01-19 20:14:46 +0000

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301192014.30JKEnoe025984>