aboutsummaryrefslogtreecommitdiff
path: root/graphics/netpbm
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/netpbm')
-rw-r--r--graphics/netpbm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index 161c6e1fcae6..e7f0d39d852f 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -63,4 +63,8 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/USERDOC ${DOCSDIR}/
.endif
+.if !defined(WITHOUT_PERL) && ${PERL_LEVEL} < 500601
+RUN_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+.endif
+
.include <bsd.port.post.mk>