ports/84185: [PATCH] www/p5-Maypole-Component: fix $VERSION and unbreak

Yen-Ming Lee leeym at FreeBSD.org
Wed Jul 27 16:50:19 UTC 2005


>Number:         84185
>Category:       ports
>Synopsis:       [PATCH] www/p5-Maypole-Component: fix $VERSION and 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:   Wed Jul 27 16:50:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun Jul 17 07:50:25 CST 2005
>Description:
- fix $VERSION and unbreak

Port maintainer (scrappy at FreeBSD.org) is cc'd.

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

http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.4.2005052016/p5-Maypole-Component-0.03.log
>Fix:

--- p5-Maypole-Component-0.03.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/p5-Maypole-Component/Makefile,v
retrieving revision 1.4
diff -u -u -r1.4 Makefile
--- Makefile	10 Apr 2005 22:00:48 -0000	1.4
+++ Makefile	27 Jul 2005 16:47:36 -0000
@@ -18,10 +18,8 @@
 
 MAN3=		Maypole::Component.3
 
-.include <bsd.port.pre.mk>
+post-patch:
+	@${PERL} -pi -e 's/use 5.006/use 5.005/' ${WRKSRC}/Makefile.PL
+	@${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' ${WRKSRC}/Component.pm
 
-.if ${OSVERSION} < 500000
-BROKEN=		"Does not build on FreeBSD 4.x"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- p5-Maypole-Component-0.03.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list