Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  8 Aug 2006 01:21:04 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/101602: [MAINTAINER] textproc/p5-Text-Trac: Fix build in Perl 5.00503
Message-ID:  <20060807172104.C2B3B162@netnews.NCTU.edu.tw>
Resent-Message-ID: <200608071730.k77HUINa060485@freefall.freebsd.org>

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

>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:



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