aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2019-06-19 22:41:52 +0000
committerMathieu Arnold <mat@FreeBSD.org>2019-06-19 22:41:52 +0000
commit215fe3a16faa063fdbba87d3f1f7c04a6f69360c (patch)
treebddb3f9d2eba1319c94da65e0d73868d2a0c1210 /x11-toolkits
parent6baf4567a58f3e22550e5ab1c5c4e19bbf0888ed (diff)
downloadports-215fe3a16faa063fdbba87d3f1f7c04a6f69360c.tar.gz
ports-215fe3a16faa063fdbba87d3f1f7c04a6f69360c.zip
Fix build with Perl 5.31+
With hat: perl@
Notes
Notes: svn path=/head/; revision=504594
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/p5-Gtk2-Ex-PodViewer/Makefile8
1 files changed, 7 insertions, 1 deletions
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 <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 503100
+BUILD_DEPENDS+= p5-Pod-Parser>=0:textproc/p5-Pod-Parser
+.endif
+
+.include <bsd.port.post.mk>