Bug 144605 - [PATCH] Get ports-mgmt/portupgrade to build under Ruby 1.9.1
Summary: [PATCH] Get ports-mgmt/portupgrade to build under Ruby 1.9.1
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-ruby (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-10 01:40 UTC by Aaron Gifford
Modified: 2011-08-02 03:27 UTC (History)
0 users

See Also:


Attachments
file.diff (16.86 KB, patch)
2010-03-10 01:40 UTC, Aaron Gifford
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Gifford 2010-03-10 01:40:01 UTC
portupgrade won't build under Ruby 1.9.1 due to including Ruby globals in the parameters section of option blocks.  The fix is very simple.

Simple fix:
===========
..option code... {
  |$globalvar|

Becomes:
========
..option code... {
  |opt|
  $globalvar = opt

Fix: PATCH FOLLOWS:
How-To-Repeat: see above
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-03-10 01:40:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Philip M. Gollucci freebsd_committer freebsd_triage 2010-09-10 00:12:03 UTC
Responsible Changed
From-To: ruby->pgollucci

I will take it
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2010-09-24 07:22:55 UTC
Responsible Changed
From-To: pgollucci->freebsd-ports-bugs

going to have enotime for the next 2 weeks, sorry
Comment 4 Steve Price freebsd_committer freebsd_triage 2011-01-03 17:21:50 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

Over to maintainer(s).
Comment 5 Tilman Keskinoz freebsd_committer freebsd_triage 2011-07-26 12:51:06 UTC
State Changed
From-To: open->patched

A version that supports ruby 1.9 has been committed to  the portupgrade-devel port
Comment 6 Eitan Adler freebsd_committer freebsd_triage 2011-08-02 03:27:17 UTC
State Changed
From-To: patched->closed

see above reason