prepare for testing and fixing #145222
authorNguyen Thai Ngoc Duy <pclouds@gentoo.org>
Sun, 21 Jan 2007 07:38:43 +0000 (07:38 +0000)
committerNguyen Thai Ngoc Duy <pclouds@gentoo.org>
Sun, 21 Jan 2007 07:38:43 +0000 (07:38 +0000)
eclass/ruby.eclass

index bd8a1094dcf8b29b9f4dbc5b3d0351a3d0bb5700..660df3a39dcca16e88dfff8a265fe2db04031b60 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.57 2007/01/15 16:22:22 fuzzyray Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.58 2007/01/21 07:38:43 pclouds Exp $
 #
 # Author: Mamoru KOMACHI <usata@gentoo.org>
 #
@@ -43,7 +43,11 @@ EXPORT_FUNCTIONS src_unpack src_compile src_install
 HOMEPAGE="http://raa.ruby-lang.org/list.rhtml?name=${PN}"
 SRC_URI="mirror://gentoo/${P}.tar.gz"
 
-IUSE="examples"
+# prepare for #145222 fix
+# once testing is ok, this condition will be removed
+if [ "${RUBY_BUG_145222}" != "yes" ]; then
+       IUSE="examples"
+fi
 
 SLOT="0"
 LICENSE="Ruby"