pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Suppress the warning from make(1) that the error co...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15f62fbd58d6
branches:  trunk
changeset: 517002:15f62fbd58d6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Aug 02 16:53:00 2006 +0000

description:
Suppress the warning from make(1) that the error code is ignored when
files cannot be deleted.

diffstat:

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

diffs (22 lines):

diff -r 23466e301ce7 -r 15f62fbd58d6 mk/bsd.pkg.clean.mk
--- a/mk/bsd.pkg.clean.mk       Wed Aug 02 16:15:49 2006 +0000
+++ b/mk/bsd.pkg.clean.mk       Wed Aug 02 16:53:00 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.clean.mk,v 1.6 2006/07/27 21:46:45 jlam Exp $
+# $NetBSD: bsd.pkg.clean.mk,v 1.7 2006/08/02 16:53:00 rillig Exp $
 #
 # This Makefile fragment is included to bsd.pkg.mk and defines the
 # relevant variables and targets for the "clean" phase.
@@ -61,9 +61,9 @@
                fi;                                                     \
         fi
 .  if defined(WRKOBJDIR)
-       -${_PKG_SILENT}${_PKG_DEBUG}                                    \
-       ${RMDIR} ${BUILD_DIR} 2>/dev/null;                              \
-       ${RM} -f ${WRKDIR_BASENAME} 2>/dev/null
+       ${_PKG_SILENT}${_PKG_DEBUG}                                     \
+       ${RMDIR} ${BUILD_DIR} 2>/dev/null || ${TRUE};                   \
+       ${RM} -f ${WRKDIR_BASENAME} 2>/dev/null || ${TRUE}
 .  endif
 .endif
 



Home | Main Index | Thread Index | Old Index