pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Discard unused error messages from "pkg_admin pmatch".



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c57b7bb32564
branches:  trunk
changeset: 470959:c57b7bb32564
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Mar 13 19:43:03 2004 +0000

description:
Discard unused error messages from "pkg_admin pmatch".

diffstat:

 mk/bsd.pkg.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 57d1aebad9a6 -r c57b7bb32564 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sat Mar 13 19:38:26 2004 +0000
+++ b/mk/bsd.pkg.mk     Sat Mar 13 19:43:03 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1420 2004/03/11 22:57:22 agc Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1421 2004/03/13 19:43:03 jlam Exp $
 #
 # This file is in the public domain.
 #
@@ -260,7 +260,7 @@
 .      for _vers_ in ${PERL5_REQD}
 .        if !empty(_PERL5_PKG_SATISFIES_DEP:M[yY][eE][sS])
 _PERL5_PKG_SATISFIES_DEP!=     \
-       if ${PKG_ADMIN} pmatch 'perl>=${_vers_}' ${_pkg_}; then         \
+       if ${PKG_ADMIN} pmatch 'perl>=${_vers_}' ${_pkg_} 2>/dev/null; then \
                ${ECHO} "YES";                                          \
        else                                                            \
                ${ECHO} "NO";                                           \



Home | Main Index | Thread Index | Old Index