ports/84178: [PATCH] devel/p5-Class-Hook: fix $VERSION and unbreak
Yen-Ming Lee
leeym at FreeBSD.org
Wed Jul 27 15:40:16 UTC 2005
>Number: 84178
>Category: ports
>Synopsis: [PATCH] devel/p5-Class-Hook: 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 15:40:13 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 this port for old perl
Port maintainer (brian at quynh-and-brian.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- p5-Class-Hook-0.01.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Class-Hook/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- Makefile 21 Feb 2004 22:08:28 -0000 1.7
+++ Makefile 27 Jul 2005 15:33:38 -0000
@@ -25,10 +25,8 @@
ARCH_PERL= ${SITE_PERL}/${PERL_ARCH}
-.include <bsd.port.pre.mk>
+post-patch:
+ @${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' \
+ ${WRKSRC}/lib/Class/Hook.pm
-.if ${OSVERSION} < 500000
-BROKEN= "Does not compile"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- p5-Class-Hook-0.01.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list