summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-05-16 15:49:43 +0200
committerHans de Graaff <graaff@gentoo.org>2016-05-16 15:49:43 +0200
commit877424deb0e0bae058e7887fa94f93d2ab8dfaf6 (patch)
tree973f5504c82d0e9504ba686f0c2500bba2c93553 /dev-ruby/json
parentapp-emacs/magit: cleanup (diff)
downloadgentoo-877424deb0e0bae058e7887fa94f93d2ab8dfaf6.tar.gz
gentoo-877424deb0e0bae058e7887fa94f93d2ab8dfaf6.tar.bz2
gentoo-877424deb0e0bae058e7887fa94f93d2ab8dfaf6.zip
dev-ruby/json: fix USE=doc during bootstrap
Add explicit dependencies on dev-ruby/rdoc for USE=doc. Normally these are satified by dev-lang/ruby, but this happens in PDEPEND. During an initial merge of ruby the order of dev-ruby/rdoc and dev-ruby/json is not defined so the emerging json may fail due to a missing rdoc. Fixes bug 572042 Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/json')
-rw-r--r--dev-ruby/json/json-1.8.2-r1.ebuild5
-rw-r--r--dev-ruby/json/json-1.8.3.ebuild5
2 files changed, 6 insertions, 4 deletions
diff --git a/dev-ruby/json/json-1.8.2-r1.ebuild b/dev-ruby/json/json-1.8.2-r1.ebuild
index 09faec6ac882..46c28d674ef7 100644
--- a/dev-ruby/json/json-1.8.2-r1.ebuild
+++ b/dev-ruby/json/json-1.8.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -25,7 +25,8 @@ RDEPEND="${RDEPEND}"
DEPEND="${DEPEND}
dev-util/ragel"
-ruby_add_bdepend "dev-ruby/rake"
+ruby_add_bdepend "dev-ruby/rake
+ doc? ( dev-ruby/rdoc )"
all_ruby_prepare() {
# Avoid building the extension twice!
diff --git a/dev-ruby/json/json-1.8.3.ebuild b/dev-ruby/json/json-1.8.3.ebuild
index 99a81bc47e1a..92d75b814157 100644
--- a/dev-ruby/json/json-1.8.3.ebuild
+++ b/dev-ruby/json/json-1.8.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -25,7 +25,8 @@ RDEPEND="${RDEPEND}"
DEPEND="${DEPEND}
dev-util/ragel"
-ruby_add_bdepend "dev-ruby/rake"
+ruby_add_bdepend "dev-ruby/rake
+ doc? ( dev-ruby/rdoc )"
all_ruby_prepare() {
# Avoid building the extension twice!