git: 071605702c89 - main - devel/p5-Object-Authority: fix build with Perl 5.42

From: Mathieu Arnold <mat_at_FreeBSD.org>
Date: Sun, 17 Aug 2025 06:34:18 UTC
The branch main has been updated by mat:

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

commit 071605702c89f59a30ef4f1519f2689033b99f27
Author:     Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2025-08-17 06:23:14 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2025-08-17 06:33:11 +0000

    devel/p5-Object-Authority: fix build with Perl 5.42
    
    PR:     288020
---
 devel/p5-Object-Authority/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/devel/p5-Object-Authority/Makefile b/devel/p5-Object-Authority/Makefile
index ad4d04a2f1fc..2491340f02aa 100644
--- a/devel/p5-Object-Authority/Makefile
+++ b/devel/p5-Object-Authority/Makefile
@@ -16,4 +16,8 @@ TEST_DEPENDS=	p5-Test-Exception>=0:devel/p5-Test-Exception
 USES=		perl5
 USE_PERL5=	configure
 
+# Remove old, broken, bundled Scalar::Util
+post-extract:
+	${RM} -rf ${WRKSRC}/inc/Scalar
+
 .include <bsd.port.mk>