diff options
author | Hans de Graaff <graaff@gentoo.org> | 2010-09-23 05:30:37 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2010-09-23 05:30:37 +0000 |
commit | ac086ed4981321a2bc5ac774a7e3535b1e250fac (patch) | |
tree | d263e58b86e07ca1eeec90e0cbe1253dfade578f /dev-ruby/rspec-mocks | |
parent | Fixed parallel building for docs, thanks Francois Bissey, bug #338270 (diff) | |
download | gentoo-2-ac086ed4981321a2bc5ac774a7e3535b1e250fac.tar.gz gentoo-2-ac086ed4981321a2bc5ac774a7e3535b1e250fac.tar.bz2 gentoo-2-ac086ed4981321a2bc5ac774a7e3535b1e250fac.zip |
Only build documentation when USE=doc. Fixes #337670.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rspec-mocks')
-rw-r--r-- | dev-ruby/rspec-mocks/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/rspec-mocks/rspec-mocks-2.0.0_beta22.ebuild | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/dev-ruby/rspec-mocks/ChangeLog b/dev-ruby/rspec-mocks/ChangeLog index e7eda05cd37c..197673a2cee5 100644 --- a/dev-ruby/rspec-mocks/ChangeLog +++ b/dev-ruby/rspec-mocks/ChangeLog @@ -1,11 +1,15 @@ # ChangeLog for dev-ruby/rspec-mocks # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/ChangeLog,v 1.2 2010/09/18 16:24:17 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/ChangeLog,v 1.3 2010/09/23 05:30:37 graaff Exp $ 18 Sep 2010; Raúl Porcel <armin76@gentoo.org> rspec-mocks-2.0.0_beta22.ebuild: Add ~ia64 wrt #337113 + 18 Sep 2010; Hans de Graaff <graaff@gentoo.org> + rspec-mocks-2.0.0_beta22.ebuild: + Only build documentation when USE=doc. Fixes #337670. + *rspec-mocks-2.0.0_beta22 (13 Sep 2010) 13 Sep 2010; Hans de Graaff <graaff@gentoo.org> diff --git a/dev-ruby/rspec-mocks/rspec-mocks-2.0.0_beta22.ebuild b/dev-ruby/rspec-mocks/rspec-mocks-2.0.0_beta22.ebuild index 543d0ac5b00e..ebe16549ea29 100644 --- a/dev-ruby/rspec-mocks/rspec-mocks-2.0.0_beta22.ebuild +++ b/dev-ruby/rspec-mocks/rspec-mocks-2.0.0_beta22.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/rspec-mocks-2.0.0_beta22.ebuild,v 1.2 2010/09/18 16:24:17 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-mocks/rspec-mocks-2.0.0_beta22.ebuild,v 1.3 2010/09/23 05:30:37 graaff Exp $ EAPI=2 USE_RUBY="ruby18 ree18 ruby19" @@ -46,7 +46,9 @@ all_ruby_prepare() { } all_ruby_compile() { - RUBYLIB="${S}/lib" rake rdoc || die + if use doc ; then + RUBYLIB="${S}/lib" rake rdoc || die + fi } each_ruby_test() { |