git: 0713995096aa - main - graphics/p5-Gimp: mark broken with Perl 5.42+

From: Mathieu Arnold <mat_at_FreeBSD.org>
Date: Sat, 26 Jul 2025 08:39:33 UTC
The branch main has been updated by mat:

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

commit 0713995096aab428d5ca0d1aa2c6aab414af0947
Author:     Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2025-07-26 08:30:15 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2025-07-26 08:38:46 +0000

    graphics/p5-Gimp: mark broken with Perl 5.42+
    
            Could not find a typemap for C type 'GimpRGB &'.
            Could not find a typemap for C type 'GimpHSV &'.
    
    PR:     288020
---
 graphics/p5-Gimp/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/graphics/p5-Gimp/Makefile b/graphics/p5-Gimp/Makefile
index 132cd2d77243..d20507687cf6 100644
--- a/graphics/p5-Gimp/Makefile
+++ b/graphics/p5-Gimp/Makefile
@@ -36,4 +36,10 @@ post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Gimp/Net/Net.so
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Gimp/UI/UI.so
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 504200
+BROKEN=	fails to build
+.endif
+
+.include <bsd.port.post.mk>