Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/rubinius/files: rubinius-2.2.7-emake-v.patch
Date: Sat, 07 Jun 2014 08:05:32
Message-Id: 20140607080528.C45242004F@flycatcher.gentoo.org
1 graaff 14/06/07 08:05:28
2
3 Added: rubinius-2.2.7-emake-v.patch
4 Log:
5 Backport upstream patch to support "emake V=1" for C extensions.
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
8
9 Revision Changes Path
10 1.1 dev-lang/rubinius/files/rubinius-2.2.7-emake-v.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/files/rubinius-2.2.7-emake-v.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rubinius/files/rubinius-2.2.7-emake-v.patch?rev=1.1&content-type=text/plain
14
15 Index: rubinius-2.2.7-emake-v.patch
16 ===================================================================
17 commit 2f4ebeb2c27756c65906949dcf19663043089632
18 Author: Yorick Peterse <yorickpeterse@×××××.com>
19 Date: Tue Jun 3 20:26:55 2014 +0200
20
21 Implement RbConfig::CONFIG['NULLCMD']
22
23 Based on some digging through the MRI source code this always seems to be set
24 to ":".
25
26 Fixes #3054.
27
28 diff --git a/library/rbconfig.rb b/library/rbconfig.rb
29 index 2e0cbba..d47cc43 100644
30 --- a/library/rbconfig.rb
31 +++ b/library/rbconfig.rb
32 @@ -106,6 +106,7 @@ module RbConfig
33 CONFIG["STRIP"] = "strip -A -n"
34 CONFIG["MANTYPE"] = "doc"
35 CONFIG["MAKEFILES"] = "Makefile"
36 + CONFIG["NULLCMD"] = ":"
37 # compile tools flags
38 # since we hardcode using gcc, and this flag is only
39 # used by mkmf to compile extensions, be sure PIC is in