Index: ruby-1.9.3_rc1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.9.3_rc1.ebuild,v retrieving revision 1.2 diff -u -r1.2 ruby-1.9.3_rc1.ebuild --- ruby-1.9.3_rc1.ebuild 22 Oct 2011 17:16:53 -0000 1.2 +++ ruby-1.9.3_rc1.ebuild 4 Dec 2011 22:53:31 -0000 @@ -6,7 +6,7 @@ #PATCHSET= -inherit autotools eutils flag-o-matic multilib versionator +inherit autotools eutils flag-o-matic multilib versionator db-use RUBYPL=$(get_version_component_range 4) @@ -35,7 +35,7 @@ http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2" LICENSE="|| ( Ruby BSD-2 )" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl tk xemacs ncurses +readline +yaml" #libedit # libedit support is removed everywhere because of this upstream bug: @@ -124,6 +124,9 @@ # Set a faux target (bug #342819) use hppa && myconf="${myconf} --target=parisc" + use berkdb && use elibc_FreeBSD && \ + myconf="${myconf} --with-dbm-include=$(db_includedir)" + econf \ --program-suffix=${MY_SUFFIX} \ --with-soname=ruby${MY_SUFFIX} \