Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 362080 Details for
Bug 489608
ruby-ng.eclass forces RUBY_TARGETS to be set in pkg_setup even if ruby is optional
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Sample logic in ruby-ng_pkg_setup to honor RUBY_OPTIONAL
ruby-ng.patch (text/plain), 1.04 KB, created by
Sven Vermeulen (RETIRED)
on 2013-10-27 18:24:21 UTC
(
hide
)
Description:
Sample logic in ruby-ng_pkg_setup to honor RUBY_OPTIONAL
Filename:
MIME Type:
Creator:
Sven Vermeulen (RETIRED)
Created:
2013-10-27 18:24:21 UTC
Size:
1.04 KB
patch
obsolete
>Index: ruby-ng.eclass >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v >retrieving revision 1.52 >diff -u -B -r1.52 ruby-ng.eclass >--- ruby-ng.eclass 23 Jun 2013 14:56:07 -0000 1.52 >+++ ruby-ng.eclass 27 Oct 2013 18:22:07 -0000 >@@ -407,12 +407,14 @@ > # @DESCRIPTION: > # Check whether at least one ruby target implementation is present. > ruby-ng_pkg_setup() { >- # This only checks that at least one implementation is present >- # before doing anything; by leaving the parameters empty we know >- # it's a special case. >- _ruby_each_implementation >+ if [[ ${RUBY_OPTIONAL} != yes ]] || use ruby ; then >+ # This only checks that at least one implementation is present >+ # before doing anything; by leaving the parameters empty we know >+ # it's a special case. >+ _ruby_each_implementation > >- has ruby_targets_jruby ${IUSE} && use ruby_targets_jruby && java-pkg_setup-vm >+ has ruby_targets_jruby ${IUSE} && use ruby_targets_jruby && java-pkg_setup-vm >+ fi > } > > # @FUNCTION: ruby-ng_src_unpack
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 489608
: 362080