From leeym@utopia.leeym.com  Wed Jul 27 15:34:43 2005
Return-Path: <leeym@utopia.leeym.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 14AE416A420
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 27 Jul 2005 15:34:43 +0000 (GMT)
	(envelope-from leeym@utopia.leeym.com)
Received: from msr62.hinet.net (msr62.hinet.net [168.95.4.162])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 671A943D5F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 27 Jul 2005 15:34:42 +0000 (GMT)
	(envelope-from leeym@utopia.leeym.com)
Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52])
	by msr62.hinet.net (8.9.3/8.9.3) with ESMTP id XAA23997;
	Wed, 27 Jul 2005 23:34:24 +0800 (CST)
Received: from localhost (localhost [127.0.0.1])
	by utopia.leeym.com (Postfix) with ESMTP id E5850B29CDE;
	Wed, 27 Jul 2005 23:34:12 +0800 (CST)
Received: from utopia.leeym.com ([127.0.0.1])
 by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 80489-10; Wed, 27 Jul 2005 23:34:08 +0800 (CST)
Received: by utopia.leeym.com (Postfix, from userid 1000)
	id 9BE67B29C95; Wed, 27 Jul 2005 23:34:08 +0800 (CST)
Message-Id: <20050727153408.9BE67B29C95@utopia.leeym.com>
Date: Wed, 27 Jul 2005 23:34:08 +0800 (CST)
From: Yen-Ming Lee <leeym@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: brian@quynh-and-brian.org
Subject: [PATCH] devel/p5-Class-Hook: fix $VERSION and unbreak
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         84178
>Category:       ports
>Synopsis:       [PATCH] devel/p5-Class-Hook: fix $VERSION and unbreak
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    leeym
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 27 15:40:13 GMT 2005
>Closed-Date:    Tue Aug 30 08:21:43 GMT 2005
>Last-Modified:  Tue Aug 30 08:21:43 GMT 2005
>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@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:
State-Changed-From-To: open->feedback 
State-Changed-By: leeym 
State-Changed-When: Wed Jul 27 16:49:36 GMT 2005 
State-Changed-Why:  
The maintainer is noticed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84178 
Responsible-Changed-From-To: freebsd-ports-bugs->leeym 
Responsible-Changed-By: leeym 
Responsible-Changed-When: Wed Jul 27 16:49:40 GMT 2005 
Responsible-Changed-Why:  
I will take care of this PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84178 
State-Changed-From-To: feedback->closed 
State-Changed-By: leeym 
State-Changed-When: Tue Aug 30 08:21:42 GMT 2005 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84178 
>Unformatted:
