commit:     92c084d7219e57c4e51a7277ec1b29156500601d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 12 14:28:36 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 14:28:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92c084d7

dev-debug/valgrind: fix live ebuild

Fixes: f0c447abf681cf8b7f99b84efe8838537915edc7
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/valgrind/valgrind-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-debug/valgrind/valgrind-9999.ebuild 
b/dev-debug/valgrind/valgrind-9999.ebuild
index b19c8e416302..8e4648affe18 100644
--- a/dev-debug/valgrind/valgrind-9999.ebuild
+++ b/dev-debug/valgrind/valgrind-9999.ebuild
@@ -98,7 +98,7 @@ src_prepare() {
                cp "${S}"/coregrind/link_tool_exe_{linux,solaris}.in
        fi
 
-       if [[ -d "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} ]] ; then
+       if [[ ${PV} != 9999 && -d "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} ]] ; 
then
                PATCHES+=( "${WORKDIR}"/${VALGRIND_PATCH_TARBALL} )
        fi
 

Reply via email to