ports/70323: [patch] p5-WWW-Mechanize update for perl 5.8
Christian Lackas
c.lackas at fz-juelich.de
Wed Aug 11 20:00:52 UTC 2004
>Number: 70323
>Category: ports
>Synopsis: [patch] p5-WWW-Mechanize update for perl 5.8
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 11 20:00:47 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Christian Lackas
>Release: FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD zel726.zel.kfa-juelich.de 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #17: Sat Aug 7 14:53:22 CEST 2004 root at zel726.zel.kfa-juelich.de:/usr/obj/usr/src/sys/KERNEL.ZEL726 i386
>Description:
port depends on port devel/p5-File-Temp which is already included in
lang/perl5.8, so it won't install for PERL_LEVEL > 500800
>How-To-Repeat:
install lang/perl5.8 and then www/p5-WWW-Mechanize
>Fix:
Apply this patch:
--- Makefile Wed Aug 11 21:52:08 2004
+++ Makefile.orig Wed Aug 11 21:50:55 2004
@@ -17,6 +17,7 @@
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}
@@ -39,10 +40,6 @@
-e 's/^our\s+([\%]\w+)/use vars qw($$1)/;' \
-e '$$_="" if /use warnings/;' \
${WRKSRC}/lib/WWW/Mechanize.pm ${WRKSRC}/lib/WWW/Mechanize/Link.pm
-.endif
-
-.if ${PERL_LEVEL} < 500800
- BUILD_DEPENDS += ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
.endif
.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list