diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-06-05 16:10:01 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-06-05 16:10:01 +0000 |
commit | 2ea3517a642ad34d719ed517ecf0efa3efbc78fa (patch) | |
tree | efc91d7a8c742b5dd1dc9431fbf1c7cf352d4727 | |
parent | 8ba735a8c89883d9525efe808e07cd1b2b2b2862 (diff) | |
download | ports-2ea3517a642ad34d719ed517ecf0efa3efbc78fa.tar.gz ports-2ea3517a642ad34d719ed517ecf0efa3efbc78fa.zip |
Notes
-rw-r--r-- | www/p5-ParallelUA/Makefile | 14 | ||||
-rw-r--r-- | www/p5-ParallelUA/files/patch-lib-LWP-Parallel-UserAgent.pm | 10 |
2 files changed, 7 insertions, 17 deletions
diff --git a/www/p5-ParallelUA/Makefile b/www/p5-ParallelUA/Makefile index 9e90bdf51899..092bc13f62fb 100644 --- a/www/p5-ParallelUA/Makefile +++ b/www/p5-ParallelUA/Makefile @@ -8,21 +8,21 @@ PORTNAME= ParallelUA PORTVERSION= 2.57 PORTREVISION= 2 -CATEGORIES= www perl5 devel -MASTER_SITES= CPAN -MASTER_SITE_SUBDIR= LWP +CATEGORIES= www perl5 +MASTER_SITES= CPAN/LWP PKGNAMEPREFIX= p5- DISTNAME= ParallelUserAgent-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Perl5 Parallel LWP User Agent for WWW access -BUILD_DEPENDS= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \ - ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \ - ${SITE_PERL}/${PERL_ARCH}/HTML/HeadParser.pm:${PORTSDIR}/www/p5-HTML-Parser +BUILD_DEPENDS= p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser \ + p5-URI>=0:${PORTSDIR}/net/p5-URI \ + p5-libwww>=0:${PORTSDIR}/www/p5-libwww RUN_DEPENDS:= ${BUILD_DEPENDS} PERL_CONFIGURE= yes +REINPLACE_ARGS= -i '' MAN3= Bundle::ParallelUA.3 \ LWP::Parallel.3 \ @@ -35,6 +35,6 @@ MAN3= Bundle::ParallelUA.3 \ LWP::RobotPUA.3 post-patch: - ${RM} -f ${WRKSRC}/lib/LWP/Parallel/UserAgent.pm.orig + @${REINPLACE_CMD} -e '/protocol->parse_head/d' ${WRKSRC}/lib/LWP/Parallel/UserAgent.pm .include <bsd.port.mk> diff --git a/www/p5-ParallelUA/files/patch-lib-LWP-Parallel-UserAgent.pm b/www/p5-ParallelUA/files/patch-lib-LWP-Parallel-UserAgent.pm deleted file mode 100644 index 7672d853f5ec..000000000000 --- a/www/p5-ParallelUA/files/patch-lib-LWP-Parallel-UserAgent.pm +++ /dev/null @@ -1,10 +0,0 @@ ---- lib/LWP/Parallel/UserAgent.pm.orig 2009-03-04 10:33:02.000000000 +0800 -+++ lib/LWP/Parallel/UserAgent.pm 2009-03-04 10:33:08.000000000 +0800 -@@ -1494,7 +1494,6 @@ - $cookie_jar->add_cookie_header($request) if $cookie_jar; - - # Transfer some attributes to the protocol object -- $protocol->parse_head($parse_head); - $protocol->max_size($max_size); - - LWP::Debug::trace ("<- (undef". |