ports/170916: Mk/bsd.ruby.mk: setting RUBY variable fails to set RUBY_* variables
Hiroto Kagotani
hiroto.kagotani at gmail.com
Thu Aug 23 13:20:10 UTC 2012
>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:
More information about the freebsd-ports-bugs
mailing list