-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
# Since 2.13.3 rmagick now supports HDRI enabled, but with it enabled
# tests fail with segmentation faults.
-RDEPEND+=" >=media-gfx/imagemagick-6.4.9:=[-hdri]"
-DEPEND+=" >=media-gfx/imagemagick-6.4.9:=[-hdri]"
+RDEPEND+=" >=media-gfx/imagemagick-6.4.9:=[-hdri] =media-gfx/imagemagick-6*"
+DEPEND+=" >=media-gfx/imagemagick-6.4.9:=[-hdri] =media-gfx/imagemagick-6*"
all_ruby_prepare() {
# Avoid unused dependency on rake-compiler. This also avoids an
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-macos"
IUSE="doc"
-RDEPEND+=" >=media-gfx/imagemagick-6.4.9:="
-DEPEND+=" >=media-gfx/imagemagick-6.4.9:=[jpeg]"
+RDEPEND+=" >=media-gfx/imagemagick-6.4.9:= =media-gfx/imagemagick-6*"
+DEPEND+=" >=media-gfx/imagemagick-6.4.9:=[jpeg] =media-gfx/imagemagick-6*"
ruby_add_bdepend "test? ( dev-ruby/rspec:3 )"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-macos"
IUSE="doc"
-RDEPEND+=" >=media-gfx/imagemagick-6.4.9:="
-DEPEND+=" >=media-gfx/imagemagick-6.4.9:=[jpeg]"
+RDEPEND+=" >=media-gfx/imagemagick-6.4.9:= =media-gfx/imagemagick-6*"
+DEPEND+=" >=media-gfx/imagemagick-6.4.9:=[jpeg] =media-gfx/imagemagick-6*"
ruby_add_bdepend "test? ( dev-ruby/rspec:3 )"