ports/101602: [MAINTAINER] textproc/p5-Text-Trac: Fix build in Perl 5.00503

Gea-Suan Lin gslin at gslin.org
Mon Aug 7 17:30:40 UTC 2006


>Number:         101602
>Category:       ports
>Synopsis:       [MAINTAINER] textproc/p5-Text-Trac: Fix build in Perl 5.00503
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 07 17:30:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Fix build in Perl 5.00503

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

--- p5-Text-Trac-0.04.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/textproc/p5-Text-Trac/Makefile /home/staff/gslin/work/p5-Text-Trac/Makefile
--- /usr/ports/textproc/p5-Text-Trac/Makefile	Tue Aug  1 10:01:48 2006
+++ /home/staff/gslin/work/p5-Text-Trac/Makefile	Tue Aug  8 01:20:09 2006
@@ -25,6 +25,11 @@
 
 .include <bsd.port.pre.mk>
 
+.if ${PERL_LEVEL} < 500600
+post-patch:
+	${PERL} -pi -e 's/^use warnings;//g' ${WRKSRC}/Makefile.PL
+.endif
+
 .if ${PERL_LEVEL} < 500602
 BUILD_DEPENDS+=	${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
 .endif
--- p5-Text-Trac-0.04.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list