git: 07139890c923 - main - devel/p5-Object-Role: fix build with Perl 5.42
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Jul 2025 08:39:26 UTC
The branch main has been updated by mat:
URL: https://cgit.FreeBSD.org/ports/commit/?id=07139890c9235cf1af11ca9fbda5ec522a5767b0
commit 07139890c9235cf1af11ca9fbda5ec522a5767b0
Author: Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2025-07-26 07:22:07 +0000
Commit: Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2025-07-26 08:37:03 +0000
devel/p5-Object-Role: fix build with Perl 5.42
PR: 288020
---
devel/p5-Object-Role/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/devel/p5-Object-Role/Makefile b/devel/p5-Object-Role/Makefile
index 3c3dc11a3f32..908cacd09055 100644
--- a/devel/p5-Object-Role/Makefile
+++ b/devel/p5-Object-Role/Makefile
@@ -19,4 +19,8 @@ RUN_DEPENDS= p5-Sub-Name>=0:devel/p5-Sub-Name
USES= perl5
USE_PERL5= configure
+# Remove old, broken, bundled Scalar::Util
+post-extract:
+ ${RM} -rf ${WRKSRC}/inc/Scalar
+
.include <bsd.port.mk>