commit:     1dac07463140170af306046fb849acc1bea9efde
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  8 19:05:59 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Apr  8 21:10:46 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dac0746

media-libs/vigra: Add USE zlib, fixing automagic dep

Bug: https://bugs.gentoo.org/665380
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/vigra/vigra-9999.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-libs/vigra/vigra-9999.ebuild 
b/media-libs/vigra/vigra-9999.ebuild
index 13ec1ef25a5..b2cbd9927e0 100644
--- a/media-libs/vigra/vigra-9999.ebuild
+++ b/media-libs/vigra/vigra-9999.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="doc +fftw +hdf5 +jpeg mpi openexr +png +python test +tiff valgrind"
+IUSE="doc +fftw +hdf5 +jpeg mpi openexr +png +python test +tiff valgrind +zlib"
 
 REQUIRED_USE="
        doc? ( hdf5 fftw )
@@ -48,6 +48,7 @@ DEPEND="
        python? ( ${PYTHON_DEPS} dev-python/numpy[${PYTHON_USEDEP}] )
        tiff? ( media-libs/tiff:0= )
        valgrind? ( dev-util/valgrind )
+       zlib? ( sys-libs/zlib )
 "
 RDEPEND="${DEPEND}"
 
@@ -77,6 +78,7 @@ src_prepare() {
        vigra_disable jpeg
        vigra_disable png
        vigra_disable tiff
+       vigra_disable zlib
 
        # Don't use python_fix_shebang because we can't put this behind 
USE="python"
        sed -i -e '/env/s:python:python2:' config/vigra-config.in || die

Reply via email to