summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-04-08 21:05:59 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-04-08 23:10:46 +0200
commit1dac07463140170af306046fb849acc1bea9efde (patch)
tree746ad7a227e154546ffef2d0dfd2012081d620cb /media-libs
parentmedia-libs/vigra: Fix USE fftw, jpeg, png, tiff (automagic, unused) (diff)
downloadgentoo-1dac07463140170af306046fb849acc1bea9efde.tar.gz
gentoo-1dac07463140170af306046fb849acc1bea9efde.tar.bz2
gentoo-1dac07463140170af306046fb849acc1bea9efde.zip
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@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/vigra/vigra-9999.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/media-libs/vigra/vigra-9999.ebuild b/media-libs/vigra/vigra-9999.ebuild
index 13ec1ef25a54..b2cbd9927e0b 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