summaryrefslogtreecommitdiff
path: root/media-gfx/zbar/zbar-0.23.90.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/zbar/zbar-0.23.90.ebuild')
-rw-r--r--media-gfx/zbar/zbar-0.23.90.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/media-gfx/zbar/zbar-0.23.90.ebuild b/media-gfx/zbar/zbar-0.23.90.ebuild
index 46b85c382176..3389a83eaacd 100644
--- a/media-gfx/zbar/zbar-0.23.90.ebuild
+++ b/media-gfx/zbar/zbar-0.23.90.ebuild
@@ -72,6 +72,7 @@ DEPEND="${COMMON_DEPEND}
BDEPEND="
app-text/xmlto
+ sys-devel/gettext
virtual/pkgconfig
gtk? ( dev-util/glib-utils )
nls? (
@@ -146,12 +147,12 @@ multilib_src_configure() {
if multilib_is_native_abi; then
# both must be enabled to use GraphicsMagick
- if use graphicsmagick; then
+ if use imagemagick && use graphicsmagick; then
myeconfargs+=(
--with-graphicsmagick
--without-imagemagick
)
- elif use imagemagick; then
+ elif ! use graphicsmagick && use imagemagick; then
myeconfargs+=(
--with-imagemagick
--without-graphicsmagick