From 3a7b17911b12b557fc9c450a975d5a86e1c8303e Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Thu, 12 Aug 2004 12:48:01 +0000 Subject: After devel/p5-File-Temp has gained an IGNORE for PERL_LEVEL > 500800, all these ports were broken because they always depended on it. I've rearranged all the dependencies to fit the new scheme. --- www/p5-WWW-Mechanize/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'www/p5-WWW-Mechanize') 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 +.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 -- cgit v1.2.3