ports/66477: Make devel/p5-POE work on 5.005

Mathieu Arnold mat at FreeBSD.org
Mon May 10 16:20:23 UTC 2004


>Number:         66477
>Category:       ports
>Synopsis:       Make devel/p5-POE work on 5.005
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 10 09:20:22 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu Arnold
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.in.absolight.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Wed Sep 3 12:54:37 CEST 2003 root at aragorn.reaumur.absolight.net:/usr/src/sys/compile/ARAGORN i386

>Description:
>How-To-Repeat:
>Fix:

--- p5-POE-0.2802.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/p5-POE/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile	24 Feb 2004 11:42:47 -0000	1.19
+++ Makefile	10 May 2004 16:11:33 -0000
@@ -60,5 +60,10 @@
 .if ${PERL_LEVEL} < 500702
 BUILD_DEPENDS+=	${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
 .endif
+.if ${PERL_LEVEL} < 500601
+post-patch:
+	@${PERL} -i -pe '$$_ = "" if /warnings/g' \
+		${WRKSRC}/lib/POE/Kernel.pm ${WRKSRC}/lib/POE/Session.pm
+.endif
 
 .include <bsd.port.post.mk>
--- p5-POE-0.2802.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list