ports/96305: [PATCH] devel/p5-Test-File-Contents: unbreak
Yen-Ming Lee
leeym at FreeBSD.org
Tue Apr 25 08:20:27 UTC 2006
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list