Bug 84174

Summary: [PATCH] www/p5-Acme-Monta: fix '$VERSION' and unbreak
Product: Ports & Packages Reporter: Yen-Ming Lee <leeym>
Component: Individual Port(s)Assignee: Yen-Ming Lee <leeym>
Status: Closed FIXED    
Severity: Affects Only Me CC: kaoru
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
p5-Acme-Monta-0.01.patch none

Description Yen-Ming Lee freebsd_committer freebsd_triage 2005-07-27 16:20:15 UTC
- fix '$VERSION' and unbreak this port on perl-5.00503

Port maintainer (kaoru@kaisei.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
Comment 1 Yen-Ming Lee freebsd_committer freebsd_triage 2005-07-27 17:48:58 UTC
State Changed
From-To: open->feedback

The maintainer is noticed.
Comment 2 Yen-Ming Lee freebsd_committer freebsd_triage 2005-07-27 17:49:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->leeym

I will take care of this PR.
Comment 3 kaoru 2005-07-28 10:19:55 UTC
Hi,

Would you apply this patch & commit?

diff -ruN p5-Acme-Monta.orig/Makefile p5-Acme-Monta/Makefile
--- p5-Acme-Monta.orig/Makefile	Sat Jun 25 14:51:36 2005
+++ p5-Acme-Monta/Makefile	Thu Jul 28 18:15:25 2005
@@ -19,4 +19,12 @@
 
 MAN3=		Acme::Monta.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+	@${PERL} -pi -e 's/^our (\S+)/use vars qw($$1); $$1/' \
+		${WRKSRC}/lib/Acme/Monta.pm
+.endif
+
+.include <bsd.port.post.mk>
Comment 4 Yen-Ming Lee freebsd_committer freebsd_triage 2005-07-28 17:22:53 UTC
State Changed
From-To: feedback->closed

Committed, thanks.