Bug 84174 - [PATCH] www/p5-Acme-Monta: fix '$VERSION' and unbreak
Summary: [PATCH] www/p5-Acme-Monta: fix '$VERSION' and unbreak
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Yen-Ming Lee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-27 16:20 UTC by Yen-Ming Lee
Modified: 2005-07-28 17:22 UTC (History)
1 user (show)

See Also:


Attachments
p5-Acme-Monta-0.01.patch (445 bytes, patch)
2005-07-27 16:20 UTC, Yen-Ming Lee
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.