Bug 49997 - Update port: japanese/cal.rb to 1.12
Summary: Update port: japanese/cal.rb to 1.12
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: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-14 07:30 UTC by Kimura Fuyuki
Modified: 2003-03-25 12:19 UTC (History)
0 users

See Also:


Attachments
file.diff (2.06 KB, patch)
2003-03-14 07:30 UTC, Kimura Fuyuki
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kimura Fuyuki 2003-03-14 07:30:11 UTC
Update to 1.12

Fix: cvs server: Diffing .
Comment 1 Christian Weisgerber 2003-03-25 00:52:50 UTC
In article <86smtqs918.wl%fuyuki@hadaly.org> you write:

> >Number:         49997
> >Category:       ports
> >Synopsis:       Update port: japanese/cal.rb to 1.12

This doesn't work.  There is a '#' character prefixed to all (!)
lines of cal.rb.  Presumably this warning is related:

===>  Fixing the #! line of /home/naddy/f/ja-cal.rb/work/cal.rb
/usr/local/bin/ruby -i -pe 'sub "./era_name", "/usr/local/share/cal.rb/era_name"
'  /home/naddy/f/ja-cal.rb/work/Calendar.rb
-e:1: warning: string pattern instead of regexp; metacharacters no longer effect
ive
-e:1: warning: string pattern instead of regexp; metacharacters no longer effect
ive
-e:1: warning: string pattern instead of regexp; metacharacters no longer effect
ive
[...]

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de
Comment 2 Kimura Fuyuki 2003-03-25 02:10:58 UTC
At Tue, 25 Mar 2003 01:52:50 +0100 (CET),
Christian Weisgerber <naddy@mips.inka.de> wrote:
> 
> In article <86smtqs918.wl%fuyuki@hadaly.org> you write:
> 
> > >Number:         49997
> > >Category:       ports
> > >Synopsis:       Update port: japanese/cal.rb to 1.12
> 
> This doesn't work.  There is a '#' character prefixed to all (!)
> lines of cal.rb.  Presumably this warning is related:
> 
> ===>  Fixing the #! line of /home/naddy/f/ja-cal.rb/work/cal.rb
> /usr/local/bin/ruby -i -pe 'sub "./era_name", "/usr/local/share/cal.rb/era_name"
> '  /home/naddy/f/ja-cal.rb/work/Calendar.rb
> -e:1: warning: string pattern instead of regexp; metacharacters no longer effect
> ive
> -e:1: warning: string pattern instead of regexp; metacharacters no longer effect
> ive
> -e:1: warning: string pattern instead of regexp; metacharacters no longer effect
> ive
> [...]

It seems to be a problem with newer versions of ruby. Please remove
the following two lines. I guess it's useless.

	${RUBY} -i -pe '/Dir::chdir/ and print "#"' \
		${WRKSRC}/cal.rb

-- fuyuki
Comment 3 Christian Weisgerber freebsd_committer freebsd_triage 2003-03-25 12:18:47 UTC
State Changed
From-To: open->closed

Committed, thanks.