Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 138208

Summary: patch for ruby 1.8.4 series to have conditional gdbm support by USE flag
Product: Gentoo Linux Reporter: MT <toffanin.mauro>
Component: New packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED NEEDINFO    
Severity: enhancement    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-lang/ruby-1.8.4-r1
dev-lang/ruby-1.8.4.20060529

Description MT 2006-06-27 07:21:55 UTC
atthaced there are patches for the dev-lang/ruby-1.8.4* series (almost arch and ~arch) to let compile ruby with or without gbdm support using "gdbm" USE flag.

p.s.: i know that the 1.8.5 serie have an automatic gdbm detection, so my patches are valid only for 1.8.4 series.
Comment 1 MT 2006-06-27 07:22:54 UTC
Created attachment 90277 [details, diff]
dev-lang/ruby-1.8.4-r1
Comment 2 MT 2006-06-27 07:23:23 UTC
Created attachment 90278 [details, diff]
dev-lang/ruby-1.8.4.20060529
Comment 3 Nguyen Thai Ngoc Duy (RETIRED) gentoo-dev 2006-12-18 05:43:46 UTC
Urm.. are you sure? I grepped for "gdbm" from configure.in in ruby-1.8.5-p2 and found nothing. This bug may relate to bug #128837
Comment 4 MT 2006-12-19 03:51:14 UTC
(In reply to comment #3)
> Urm.. are you sure? I grepped for "gdbm" from configure.in in ruby-1.8.5-p2 and
> found nothing. This bug may relate to bug #128837
> 

as i have wrote in the previous comment, my patches was valid only for 1.8.4 version, *NOT FOR* 1.8.5 where there is not a configure option for gdbm.

p.s.: my bugreport is 6 months old, is totaly useless to discuss this problem now that 1.8.5 serie is into the stable portage branch. however, thinking about bug #128837, yes, my bugreport is more related to #128837 since the ruby configure process is know to be borked because enable conditionaly a lot of extensions (curses,gdbm,tk). the actual configure process can be ok for normal usage, but it's a pita for embedded environments where peoples *probably* do not want curses,gdbm,tk,tcl as dependencies. a configure patch that made extensions as options can be a very good solution (IMHO).