diff options
author | Sam James <sam@gentoo.org> | 2023-05-14 01:23:30 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-14 01:31:23 +0100 |
commit | 6952d230a11be325d68ec744cc7f8cffadbcde60 (patch) | |
tree | 746ed9500fb5477b0becff253cc5f660ca7775f4 /dev-vcs | |
parent | media-libs/vigra: drop invalid USE=valgrind flag (for test suite) (diff) | |
download | gentoo-6952d230a11be325d68ec744cc7f8cffadbcde60.tar.gz gentoo-6952d230a11be325d68ec744cc7f8cffadbcde60.tar.bz2 gentoo-6952d230a11be325d68ec744cc7f8cffadbcde60.zip |
dev-vcs/cssc: drop invalid USE=valgrind flag (for test suite)
We don't, in general, run Valgrind for test suites in Gentoo because it's
not portable enough and gives inconsistent results, especially under sandbox.
Plus it's confusing given USE=valgrind is effectively a global USE flag (even
if it isn't in use.desc yet) for meaning "enable annotations to enable better
debugging under Valgrind", rather than "run tests under it".
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/cssc/cssc-1.4.1.ebuild | 14 | ||||
-rw-r--r-- | dev-vcs/cssc/metadata.xml | 3 |
2 files changed, 7 insertions, 10 deletions
diff --git a/dev-vcs/cssc/cssc-1.4.1.ebuild b/dev-vcs/cssc/cssc-1.4.1.ebuild index 5be7ce4bb7ea..3705d88715ba 100644 --- a/dev-vcs/cssc/cssc-1.4.1.ebuild +++ b/dev-vcs/cssc/cssc-1.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,16 +13,15 @@ HOMEPAGE="https://www.gnu.org/software/cssc/" SLOT="0" LICENSE="GPL-3" KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~ppc-macos" - -IUSE="test valgrind" +IUSE="test" RESTRICT="!test? ( test )" -DEPEND=" - test? ( valgrind? ( dev-util/valgrind ) ) -" + DOCS=( AUTHORS ChangeLog NEWS README ) + PATCHES=( "${FILESDIR}"/${PN}-1.4.1-m4.patch ) + S=${WORKDIR}/${CSSC_P} src_prepare() { @@ -31,8 +30,9 @@ src_prepare() { } src_configure() { + # Valgrind is only used for tests econf \ - $(use test && use_with valgrind) \ + --disable-valgrind \ --enable-binary } diff --git a/dev-vcs/cssc/metadata.xml b/dev-vcs/cssc/metadata.xml index a5c17692a105..6660c03dfea0 100644 --- a/dev-vcs/cssc/metadata.xml +++ b/dev-vcs/cssc/metadata.xml @@ -2,9 +2,6 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <!-- maintainer-needed --> - <use> - <flag name="valgrind">Enable usage of <pkg>dev-util/valgrind</pkg> in tests</flag> - </use> <upstream> <remote-id type="savannah">cssc</remote-id> </upstream> |