From 215fe3a16faa063fdbba87d3f1f7c04a6f69360c Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Wed, 19 Jun 2019 22:41:52 +0000 Subject: Fix build with Perl 5.31+ With hat: perl@ --- x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'x11-toolkits') diff --git a/x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile b/x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile index 2041018198c5..662ed88c4b93 100644 --- a/x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile +++ b/x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile @@ -24,4 +24,10 @@ RUN_DEPENDS= p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \ USES= perl5 USE_PERL5= configure -.include +.include + +.if ${PERL_LEVEL} >= 503100 +BUILD_DEPENDS+= p5-Pod-Parser>=0:textproc/p5-Pod-Parser +.endif + +.include -- cgit v1.2.3