aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorbarner <barner@FreeBSD.org>2005-05-20 00:56:20 +0800
committerbarner <barner@FreeBSD.org>2005-05-20 00:56:20 +0800
commit2350b6c4c79f162026c4b8518bbf47f48ab639c1 (patch)
treea5a9b15c7ec380f0e1ef1410d7e683d3947b21ca /devel
parent491b1dc3c71f568665d25ba087fc892805a7dbb2 (diff)
downloadfreebsd-ports-graphics-2350b6c4c79f162026c4b8518bbf47f48ab639c1.tar.gz
freebsd-ports-graphics-2350b6c4c79f162026c4b8518bbf47f48ab639c1.tar.zst
freebsd-ports-graphics-2350b6c4c79f162026c4b8518bbf47f48ab639c1.zip
Fix generation of suppression files: Valgrind puts parts of its output
on stderr, so the redirection into a file did not work. Submitted by: Eugene Kilachkoff <zeus@samaramail.ru> PR: ports/81249
Diffstat (limited to 'devel')
-rw-r--r--devel/valgrind-snapshot/Makefile2
-rw-r--r--devel/valgrind/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/valgrind-snapshot/Makefile b/devel/valgrind-snapshot/Makefile
index 8f346c859a8..2118d841834 100644
--- a/devel/valgrind-snapshot/Makefile
+++ b/devel/valgrind-snapshot/Makefile
@@ -84,7 +84,7 @@ post-install:
.endif
# Generate suppression files
- @yes | ${PREFIX}/bin/valgrind --tool=memcheck --gen-suppressions=yes true \
+ @yes | ${PREFIX}/bin/valgrind --tool=memcheck --gen-suppressions=yes true 2>&1 \
| ${SED} -e 's,.*{$$,{,' \
| ${GREP} -v '^=' \
> ${WRKDIR}/freebsd-default.supp || \
diff --git a/devel/valgrind/Makefile b/devel/valgrind/Makefile
index b5000194027..1ace937bb0d 100644
--- a/devel/valgrind/Makefile
+++ b/devel/valgrind/Makefile
@@ -79,7 +79,7 @@ post-install:
${ECHO_CMD} !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! || true
.endif
- @yes | ${PREFIX}/bin/valgrind --tool=memcheck --gen-suppressions=yes true \
+ @yes | ${PREFIX}/bin/valgrind --tool=memcheck --gen-suppressions=yes true 2>&1 \
| ${SED} -e 's,.*{$$,{,' \
| ${GREP} -v '^=' \
> ${WRKDIR}/freebsd-default.supp || \