summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorNguyen Thai Ngoc Duy <pclouds@gentoo.org>2007-08-25 06:06:20 +0000
committerNguyen Thai Ngoc Duy <pclouds@gentoo.org>2007-08-25 06:06:20 +0000
commita33a7493f721710c8bde717e07fbe217de72276a (patch)
tree880080c96fb9ac5440b7c571b2707f260369167a /eclass
parentversion bump (diff)
downloadhistorical-a33a7493f721710c8bde717e07fbe217de72276a.tar.gz
historical-a33a7493f721710c8bde717e07fbe217de72276a.tar.bz2
historical-a33a7493f721710c8bde717e07fbe217de72276a.zip
Don't check for USE flag 'examples' unconditionally, bug #184346
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ruby.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ruby.eclass b/eclass/ruby.eclass
index a27fbd7c6187..7e630c33d8e7 100644
--- a/eclass/ruby.eclass
+++ b/eclass/ruby.eclass
@@ -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.66 2007/08/17 18:46:07 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.67 2007/08/25 06:06:20 pclouds Exp $
#
# Author: Mamoru KOMACHI <usata@gentoo.org>
#
@@ -175,7 +175,7 @@ erubydoc() {
dohtml -r *
fi
- if ( use examples ); then
+ if hasq examples ${IUSE} && use examples; then
for dir in sample samples example examples; do
if [ -d ${dir} ] ; then
dodir /usr/share/doc/${PF}