From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/libprelude/files: libprelude-1.0.0-ruby.patch |
Date: | Thu, 31 Mar 2011 01:24:44 |
Message-Id: | 20110331012410.2212720057@flycatcher.gentoo.org |
1 | arfrever 11/03/31 01:24:10 |
2 | |
3 | Added: libprelude-1.0.0-ruby.patch |
4 | Log: |
5 | Fix handling of bindings (bug #361195). Avoid warning about null runpaths in Perl bindings (bug #350396). |
6 | |
7 | (Portage version: 2.2.0_alpha29_p4/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/libprelude/files/libprelude-1.0.0-ruby.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libprelude/files/libprelude-1.0.0-ruby.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libprelude/files/libprelude-1.0.0-ruby.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: libprelude-1.0.0-ruby.patch |
16 | =================================================================== |
17 | --- configure.in |
18 | +++ configure.in |
19 | @@ -465,9 +465,16 @@ |
20 | dnl * Ruby support * |
21 | dnl ************************************************** |
22 | |
23 | +AC_ARG_WITH(ruby, AC_HELP_STRING(--with-ruby, Enable support for ruby binding @<:@default=auto@:>@), |
24 | + [ruby_required=true]) |
25 | |
26 | -AM_PATH_RUBY(,with_ruby=yes, with_ruby=no) |
27 | if test x$with_ruby != xno; then |
28 | + AM_PATH_RUBY(,with_ruby=yes, with_ruby=no) |
29 | + |
30 | + if test x$with_ruby = xno && test x$ruby_required = xtrue; then |
31 | + AC_MSG_ERROR([Could not find ruby binary]) |
32 | + fi |
33 | + |
34 | RUBY_ARCHDIR=`$RUBY -e 'require "rbconfig.rb"; puts Config::expand("\$(archdir)")'` |
35 | RUBY_LIBRUBYARG=`$RUBY -e 'require "rbconfig.rb"; puts Config::expand("\$(LIBRUBYARG)")'` |