commit: f731f2b51e2ab8415bb3abf75b043bc1c1b91819 Author: Nils Freydank <holgersson <AT> posteo <DOT> de> AuthorDate: Mon Mar 2 22:24:27 2020 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Mar 16 21:25:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f731f2b5
dev-util/mdds: Update live ebuild Package-Manager: Portage-2.3.93, Repoman-2.3.20 Signed-off-by: Nils Freydank <holgersson <AT> posteo.de> Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-util/mdds/mdds-9999.ebuild | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/dev-util/mdds/mdds-9999.ebuild b/dev-util/mdds/mdds-9999.ebuild index 2709004f063..37717bcfe9a 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 @@ -17,7 +17,8 @@ HOMEPAGE="https://gitlab.com/mdds/mdds" LICENSE="MIT" SLOT="1/${PV%.*}" -IUSE="doc valgrind" +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 }