diff options
author | Tim Harder <radhermit@gentoo.org> | 2017-09-23 06:21:38 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2017-09-23 06:25:26 -0400 |
commit | a11f05faa23f8e59f59c6fdeb0ce319f5042c47c (patch) | |
tree | c0770317efbcd3e91a90d9a1620064f4f7dace83 /app-misc/jq | |
parent | dev-lang/swi-prolog: bump 7.5 development version (diff) | |
download | gentoo-a11f05faa23f8e59f59c6fdeb0ce319f5042c47c.tar.gz gentoo-a11f05faa23f8e59f59c6fdeb0ce319f5042c47c.tar.bz2 gentoo-a11f05faa23f8e59f59c6fdeb0ce319f5042c47c.zip |
app-misc/jq: disable valgrind and conditionally oniguruma tests
Closes: https://bugs.gentoo.org/603532
Diffstat (limited to 'app-misc/jq')
-rw-r--r-- | app-misc/jq/jq-1.5-r3.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app-misc/jq/jq-1.5-r3.ebuild b/app-misc/jq/jq-1.5-r3.ebuild index 1c8203243802..c82256392967 100644 --- a/app-misc/jq/jq-1.5-r3.ebuild +++ b/app-misc/jq/jq-1.5-r3.ebuild @@ -12,13 +12,12 @@ SRC_URI="https://github.com/stedolan/jq/releases/download/${P}/${P}.tar.gz" LICENSE="MIT CC-BY-3.0" SLOT="0" KEYWORDS="amd64 ~arm ~ia64 ~ppc ~ppc64 x86 ~amd64-linux ~x64-macos" -IUSE="oniguruma static-libs test +valgrind" +IUSE="oniguruma static-libs test" DEPEND=" >=sys-devel/bison-3.0 sys-devel/flex oniguruma? ( dev-libs/oniguruma:=[static-libs?] ) - test? ( valgrind? ( dev-util/valgrind ) ) " RDEPEND=" !static-libs? ( @@ -33,6 +32,7 @@ src_prepare() { "${FILESDIR}"/${PN}-1.5-heap_buffer_overflow_in_tokenadd.patch ) + use oniguruma || { sed -i 's:tests/onigtest::' Makefile.am || die; } sed -i '/^dist_doc_DATA/d' Makefile.am || die sed -i -r "s:(m4_define\(\[jq_version\],) .+\):\1 \[${PV}\]):" \ configure.ac || die @@ -45,8 +45,8 @@ src_configure() { local econfargs=( # don't try to rebuild docs --disable-docs + --disable-valgrind $(use_enable static-libs static) - $(use_enable valgrind) $(use_with oniguruma) ) econf "${econfargs[@]}" |