summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2005-05-19 16:56:20 +0000
committerSimon Barner <barner@FreeBSD.org>2005-05-19 16:56:20 +0000
commit44ed78bd3a2c8812fe736be5b0f1690f4dc4aa37 (patch)
tree3388edd1eb662db91940e1d24d0931ccc1937851
parentBe sure the pkgconfig directory exists (it doesn't on not branch versions (diff)
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
Notes
Notes: svn path=/head/; revision=135631
-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 8f346c859a81..2118d841834c 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 b50001940270..1ace937bb0d7 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 || \