Subject: pkg/28484: Wrong ruby16 MESSAGE - RUBY_VERSION_DEFAULT
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <oshimaya@sc.starcat.ne.jp>
List: pkgsrc-bugs
Date: 11/30/2004 22:00:00
>Number:         28484
>Category:       pkg
>Synopsis:       Wrong ruby16 MESSAGE - RUBY_VERSION_DEFAULT
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 30 22:00:00 +0000 2004
>Originator:     Yasushi Oshima
>Release:        NetBSD 1.6.2_STABLE
>Organization:
>Environment:
NetBSD tunami 1.6.2_STABLE NetBSD 1.6.2_STABLE (GENERIC) #24: Tue Jul 27 07:10:55 JST 2004     root@tunami:/usr/src/sys/arch/i386/compile/GENERIC i386

>Description:
In lang/ruby16/MESSAGE 1.1.1.1,

  Note: make sure to set "RUBY_DEFAULT_VERSION=1.6" in /etc/mk.conf to
  create Ruby 1.6.8 based packages.

But in lang/ruby/rubyversion.mk:

  .if ${RUBY_VERSION_DEFAULT} == "1.6"
     :

These differ.
>How-To-Repeat:
make install at pkgsrc/lang/ruby16

>Fix:
 RCS file: /cvsroot/pkgsrc/lang/ruby16/MESSAGE,v
 retrieving revision 1.1.1.1
 diff -u -r1.1.1.1 MESSAGE
 --- MESSAGE     27 Nov 2004 14:14:05 -0000      1.1.1.1
 +++ MESSAGE     29 Nov 2004 17:51:24 -0000
 @@ -12,7 +12,7 @@
         x11/ruby16-tcltklib:            Tcl/Tk libraries
         x11/ruby16-tk:                  Tk modules
 
 -Note: make sure to set "RUBY_DEFAULT_VERSION=1.6" in /etc/mk.conf to
 +Note: make sure to set "RUBY_VERSION_DEFAULT=1.6" in /etc/mk.conf to
  create Ruby 1.6.8 based packages.