From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Aug 23 13:20:10 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1F8A106564A for ; Thu, 23 Aug 2012 13:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D8F398FC0C for ; Thu, 23 Aug 2012 13:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7NDK11u008634 for ; Thu, 23 Aug 2012 13:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7NDK1EW008633; Thu, 23 Aug 2012 13:20:01 GMT (envelope-from gnats) Resent-Date: Thu, 23 Aug 2012 13:20:01 GMT Resent-Message-Id: <201208231320.q7NDK1EW008633@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Hiroto Kagotani Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19E1B106566C for ; Thu, 23 Aug 2012 13:14:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 05B608FC17 for ; Thu, 23 Aug 2012 13:14:57 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q7NDEuiY034631 for ; Thu, 23 Aug 2012 13:14:56 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q7NDEuYa034630; Thu, 23 Aug 2012 13:14:56 GMT (envelope-from nobody) Message-Id: <201208231314.q7NDEuYa034630@red.freebsd.org> Date: Thu, 23 Aug 2012 13:14:56 GMT From: Hiroto Kagotani To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/170916: Mk/bsd.ruby.mk: setting RUBY variable fails to set RUBY_* variables X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2012 13:20:10 -0000 >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 `
': 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: