summaryrefslogtreecommitdiff
path: root/databases/p5-POE-Component-RRDTool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/p5-POE-Component-RRDTool/Makefile')
-rw-r--r--databases/p5-POE-Component-RRDTool/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/p5-POE-Component-RRDTool/Makefile b/databases/p5-POE-Component-RRDTool/Makefile
index 907adc1166d8..e3b22a35fea8 100644
--- a/databases/p5-POE-Component-RRDTool/Makefile
+++ b/databases/p5-POE-Component-RRDTool/Makefile
@@ -24,4 +24,10 @@ CONFIGURE_ARGS= </dev/null
post-patch:
@${REINPLACE_CMD} -e 's|($$maj, $$min, $$sub)|&; &|' ${WRKSRC}/Makefile.PL
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 504200
+EXTRA_PATCHES= ${PATCHDIR}/extrapatch-Makefile.PL
+.endif
+
+.include <bsd.port.post.mk>