From 623ee73d661e5ed8475cb264511f683407d87365 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 Apr 2020 03:41:30 +0100 Subject: gentoo Easter resync : 12.04.2020 --- dev-util/mdds/mdds-9999.ebuild | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'dev-util/mdds/mdds-9999.ebuild') diff --git a/dev-util/mdds/mdds-9999.ebuild b/dev-util/mdds/mdds-9999.ebuild index 2709004f0637..1bede682c2d9 100644 --- a/dev-util/mdds/mdds-9999.ebuild +++ b/dev-util/mdds/mdds-9999.ebuild @@ -3,7 +3,7 @@ EAPI=7 -if [[ ${PV} == 9999 ]]; then +if [[ ${PV} == *9999 ]]; then EGIT_REPO_URI="https://gitlab.com/mdds/mdds.git" inherit git-r3 else @@ -16,8 +16,9 @@ DESCRIPTION="A collection of multi-dimensional data structure and indexing algor HOMEPAGE="https://gitlab.com/mdds/mdds" LICENSE="MIT" -SLOT="1/${PV%.*}" -IUSE="doc valgrind" +SLOT="1/${PV%.*}" # Check API version on version bumps! +IUSE="doc valgrind test" +RESTRICT="!test? ( test )" BDEPEND=" doc? ( @@ -29,22 +30,24 @@ BDEPEND=" DEPEND="dev-libs/boost:=" RDEPEND="${DEPEND}" -PATCHES=( "${FILESDIR}/${PN}-1.4.3-buildsystem.patch" ) +PATCHES=( "${FILESDIR}/${PN}-1.5.0-buildsystem.patch" ) src_prepare() { default + eautoreconf } src_configure() { - econf \ - $(use_enable doc docs) \ + local myeconfargs=( + $(use_enable doc docs) $(use_enable valgrind memory_tests) + ) + econf "${myeconfargs[@]}" } -src_compile() { :; } - src_test() { tc-export CXX + default } -- cgit v1.2.3