summaryrefslogtreecommitdiff
path: root/sysutils/p5-BSD-Sysctl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/p5-BSD-Sysctl/Makefile')
-rw-r--r--sysutils/p5-BSD-Sysctl/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/p5-BSD-Sysctl/Makefile b/sysutils/p5-BSD-Sysctl/Makefile
index 18bb5331a4ca..72915e00526f 100644
--- a/sysutils/p5-BSD-Sysctl/Makefile
+++ b/sysutils/p5-BSD-Sysctl/Makefile
@@ -20,4 +20,10 @@ GH_ACCOUNT= glebius
pre-install:
${STRIP_CMD} ${WRKSRC}/blib/arch/auto/BSD/Sysctl/Sysctl.so
-.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>