Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2012 13:14:56 GMT
From:      Hiroto Kagotani <hiroto.kagotani@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/170916: Mk/bsd.ruby.mk: setting RUBY variable fails to set RUBY_* variables
Message-ID:  <201208231314.q7NDEuYa034630@red.freebsd.org>
Resent-Message-ID: <201208231320.q7NDK1EW008633@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170916
>Category:       ports
>Synopsis:       Mk/bsd.ruby.mk: setting RUBY variable fails to set RUBY_* variables
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 23 13:20:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Hiroto Kagotani
>Release:        9.0-RELEASE
>Organization:
>Environment:
>Description:
Mk/bsd.ruby.mk says RUBY variable can be set by a port.
But when I set it for my own port, make shows some errors
and some RUBY_* variables such as RUBY_VERSION are not properly set.
>How-To-Repeat:
Install lang/ruby19.
In any rubygem port directory, for example, in textproc/rubygem-htmlentities:

# make RUBY=/usr/local/bin/ruby19
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:2:in `<main>': uninitialized constant VERSION (NameError)
"/usr/ports/Mk/bsd.ruby.mk", line 151: warning: "/usr/local/bin/ruby19 -r rbconfig -e 'C = Config::CONFIG' -e 'puts VERSION'" returned non-zero status
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.
-e:1: Use RbConfig instead of obsolete and deprecated Config.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208231314.q7NDEuYa034630>