Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2006 16:15:34 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ports@rbt.ca
Subject:   ports/96305: [PATCH] devel/p5-Test-File-Contents: unbreak
Message-ID:  <20060425081534.83B0AB29CAB@utopia.leeym.com>
Resent-Message-ID: <200604250820.k3P8KJsx024144@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96305
>Category:       ports
>Synopsis:       [PATCH] devel/p5-Test-File-Contents: unbreak
>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 Apr 25 08:20:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 6.1-RC i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.1-RC FreeBSD 6.1-RC #0: Tue Apr 11 08:54:13 CST 2006
>Description:
- unbreak under old perl

Port maintainer (ports@rbt.ca) is cc'd.

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

--- p5-Test-File-Contents-0.03.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Test-File-Contents/Makefile,v
retrieving revision 1.3
diff -u -u -r1.3 Makefile
--- Makefile	22 Apr 2006 10:20:22 -0000	1.3
+++ Makefile	25 Apr 2006 08:15:04 -0000
@@ -15,7 +15,9 @@
 MAINTAINER=	ports@rbt.ca
 COMMENT=	Test routines for examining the contents of files
 
-BUILD_DEPENDS=	${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
+BUILD_DEPENDS=	${RUN_DEPENDS}
+BUILD_DEPENDS+=	${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
 
 PERL_MODBUILD=	yes
 
@@ -24,7 +26,9 @@
 .include <bsd.port.pre.mk>
 
 .if ${PERL_LEVEL} < 500600
-IGNORE=	requires perl 5.6.0 or higher. Please install lang/perl5.8 and try again
+post-patch:
+	${PERL} -pi -e '$$_ = "" if m{use warnings};' ${WRKSRC}/Build.PL \
+		${WRKSRC}/lib/Test/File/Contents.pm
 .endif
 
 .include <bsd.port.post.mk>
--- p5-Test-File-Contents-0.03.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060425081534.83B0AB29CAB>