aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Wx-Perl-ProcessStream/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/p5-Wx-Perl-ProcessStream/Makefile')
-rw-r--r--x11-toolkits/p5-Wx-Perl-ProcessStream/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-toolkits/p5-Wx-Perl-ProcessStream/Makefile b/x11-toolkits/p5-Wx-Perl-ProcessStream/Makefile
index 9eaccf1b220a..a7621f25dced 100644
--- a/x11-toolkits/p5-Wx-Perl-ProcessStream/Makefile
+++ b/x11-toolkits/p5-Wx-Perl-ProcessStream/Makefile
@@ -25,4 +25,10 @@ PERL_CONFIGURE= yes
MAN3= Wx::Perl::ProcessStream.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+= p5-Archive-Tar>=0:${PORTSDIR}/archivers/p5-Archive-Tar
+.endif
+
+.include <bsd.port.post.mk>