Date: Wed, 11 Aug 2004 21:57:05 +0200 (CEST) From: Christian Lackas <c.lackas@fz-juelich.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: clsung@dragon2.net Subject: ports/70323: [patch] p5-WWW-Mechanize update for perl 5.8 Message-ID: <200408111957.i7BJv5Di013002@zel726.zel.kfa-juelich.de> Resent-Message-ID: <200408112000.i7BK0lgS056265@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408111957.i7BJv5Di013002>