ports/128438: [PATCH] www/p5-HTTP-Response-Encoding: fix dependency

Yen-Ming Lee leeym at FreeBSD.org
Tue Oct 28 18:50:06 UTC 2008


>Number:         128438
>Category:       ports
>Synopsis:       [PATCH] www/p5-HTTP-Response-Encoding: fix dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 28 18:50:05 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD cn1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
- fix dependency to build on perl 5.7.3 - 5.8.5
- add more description
- bump PORTREVISION

Port maintainer (gslin at gslin.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-HTTP-Response-Encoding-0.05_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/p5-HTTP-Response-Encoding/Makefile,v
retrieving revision 1.1
diff -u -d -b -w -u -r1.1 Makefile
--- Makefile	30 Oct 2007 01:29:17 -0000	1.1
+++ Makefile	28 Oct 2008 18:46:18 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	HTTP-Response-Encoding
 PORTVERSION=	0.05
+PORTREVISION=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	HTTP
@@ -15,16 +16,16 @@
 MAINTAINER=	gslin at gslin.org
 COMMENT=	Adds encoding() to HTTP::Response
 
-RUN_DEPENDS=	${SITE_PERL}/HTTP/Response.pm:${PORTSDIR}/www/p5-libwww
+RUN_DEPENDS=	p5-libwww>=0:${PORTSDIR}/www/p5-libwww
 
-PERL_CONFIGURE=	yes
+PERL_CONFIGURE=	5.8.1+
 
 MAN3=		HTTP::Response::Encoding.3
 
 .include <bsd.port.pre.mk>
 
 .if ${PERL_LEVEL} < 500805
-IGNORE=		requires Perl 5.8.5 or later. Install lang/perl5.8 and try again
+RUN_DEPENDS+=	p5-Encode>=2:${PORTSDIR}/converters/p5-Encode
 .endif
 
 .include <bsd.port.post.mk>
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/www/p5-HTTP-Response-Encoding/pkg-descr,v
retrieving revision 1.1
diff -u -d -b -w -u -r1.1 pkg-descr
--- pkg-descr	30 Oct 2007 01:29:17 -0000	1.1
+++ pkg-descr	28 Oct 2008 18:46:18 -0000
@@ -1,3 +1,22 @@
 This module adds the following methods to HTTP::Response objects.
 
+$res->charset
+
+  Tells the charset exactly as appears in the Content-Type: header. Note that
+  the presence of the charset does not guarantee if the response content is
+  decodable via Encode.
+
+$res->encoder
+
+  Returns the corresponding encoder object or undef if it can't.
+
+$res->encoding
+
+  Tells the content encoding in the canonical name in Encode. Returns undef
+  if it can't.
+
+$res->decoded_content
+
+  Discontinued since HTTP::Message already has this method.
+
 WWW:	http://search.cpan.org/dist/HTTP-Response-Encoding/
--- p5-HTTP-Response-Encoding-0.05_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list