aboutsummaryrefslogtreecommitdiff
path: root/www/p5-WWW-Mechanize
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-08-12 12:48:01 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-08-12 12:48:01 +0000
commit3a7b17911b12b557fc9c450a975d5a86e1c8303e (patch)
treec1163267eb35cfcd7d2b1680f5e16f391848e9b1 /www/p5-WWW-Mechanize
parentb45207534f07eb7c813498681685467341d13336 (diff)
downloadports-3a7b17911b12b557fc9c450a975d5a86e1c8303e.tar.gz
ports-3a7b17911b12b557fc9c450a975d5a86e1c8303e.zip
Notes
Diffstat (limited to 'www/p5-WWW-Mechanize')
-rw-r--r--www/p5-WWW-Mechanize/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/p5-WWW-Mechanize/Makefile b/www/p5-WWW-Mechanize/Makefile
index 90be75bd4322..fd1aebf50fbf 100644
--- a/www/p5-WWW-Mechanize/Makefile
+++ b/www/p5-WWW-Mechanize/Makefile
@@ -17,7 +17,6 @@ COMMENT= This module is to help you automate interaction with a website
BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
${SITE_PERL}/IO/Socket/SSL.pm:${PORTSDIR}/security/p5-IO-Socket-SSL \
- ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \
${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser
RUN_DEPENDS= ${BUILD_DEPENDS}
@@ -31,6 +30,8 @@ MAN1= mech-dump.1
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
.if ${PERL_LEVEL} < 500601
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
@@ -41,5 +42,6 @@ post-patch:
-e '$$_="" if /use warnings/;' \
${WRKSRC}/lib/WWW/Mechanize.pm ${WRKSRC}/lib/WWW/Mechanize/Link.pm
.endif
+.endif
.include <bsd.port.post.mk>