summaryrefslogtreecommitdiff
path: root/devel/p5-B-Utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-B-Utils/Makefile')
-rw-r--r--devel/p5-B-Utils/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/devel/p5-B-Utils/Makefile b/devel/p5-B-Utils/Makefile
index 6582d3fa3026..1aaf873ad479 100644
--- a/devel/p5-B-Utils/Makefile
+++ b/devel/p5-B-Utils/Makefile
@@ -26,4 +26,10 @@ MAN3= B::Utils.3 B::Utils::OP.3
PERL_CONFIGURE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0:${PORTSDIR}/devel/p5-ExtUtils-CBuilder
+.endif
+
+.include <bsd.port.post.mk>