pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Some older ${FIND}s do not have an implicit "-print...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a0c61542e0bc
branches:  trunk
changeset: 489048:a0c61542e0bc
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Feb 15 16:21:41 2005 +0000

description:
Some older ${FIND}s do not have an implicit "-print"; make sure to specify
it explicitly (as with other ${FIND} usage here).

diffstat:

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

diffs (54 lines):

diff -r fa59836a855c -r a0c61542e0bc mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Tue Feb 15 16:04:42 2005 +0000
+++ b/mk/bsd.pkg.mk     Tue Feb 15 16:21:41 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1588 2005/02/13 03:49:12 rillig Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1589 2005/02/15 16:21:41 tv Exp $
 #
 # This file is in the public domain.
 #
@@ -1623,7 +1623,7 @@
        while true; do                                                  \
                : "Remove lock files older than the last reboot";       \
                if ${TEST} -f /var/run/dmesg.boot -a -f ${LOCKFILE}; then \
-                       rebooted=`${FIND} /var/run/dmesg.boot -newer ${LOCKFILE}`; \
+                       rebooted=`${FIND} /var/run/dmesg.boot -newer ${LOCKFILE} -print`; \
                        if ${TEST} x"$$rebooted" != x; then             \
                                ${ECHO} "=> Removing stale ${LOCKFILE}"; \
                                ${RM} ${LOCKFILE};                      \
@@ -2316,14 +2316,14 @@
        fi
 .if defined(PKG_DEVELOPER) && (${CHECK_FILES} == "YES")
        ${_PKG_SILENT}${_PKG_DEBUG}${ECHO_MSG} "${_PKGSRC_IN}> Generating pre-install file lists"
-       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${PREFIX} -type f -or -type l \
+       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${PREFIX} -type f -or -type l -print \
                2>/dev/null ${CHECK_FILES_SKIP_CMD} >${WRKDIR}/.prefix.pre \
                || ${TRUE}
 .  if ${CHECK_FILES_STRICT} == "YES"
-       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${PKG_SYSCONFDIR} \
+       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${PKG_SYSCONFDIR} -print \
                2>/dev/null ${CHECK_FILES_SKIP_CMD} >${WRKDIR}/.sysconfdir.pre \
                || ${TRUE}
-       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${VARBASE} \
+       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${VARBASE} -print \
                2>/dev/null ${CHECK_FILES_SKIP_CMD} >${WRKDIR}/.varbase.pre \
                || ${TRUE}
 .  endif
@@ -2382,14 +2382,14 @@
        ${_PKG_SILENT}${_PKG_DEBUG}cd ${.CURDIR} && ${MAKE} ${MAKEFLAGS} ${PLIST}
 .if defined(PKG_DEVELOPER) && (${CHECK_FILES} == "YES")
        ${_PKG_SILENT}${_PKG_DEBUG}${ECHO_MSG} "${_PKGSRC_IN}> Generating post-install file lists"
-       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${PREFIX} -type f -or -type l \
+       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${PREFIX} -type f -or -type l -print \
                2>/dev/null ${CHECK_FILES_SKIP_CMD} >${WRKDIR}/.prefix.post \
                || ${TRUE}
 .  if ${CHECK_FILES_STRICT} == "YES"
-       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${PKG_SYSCONFDIR} \
+       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${PKG_SYSCONFDIR} -print \
                2>/dev/null ${CHECK_FILES_SKIP_CMD} >${WRKDIR}/.sysconfdir.post\
                || ${TRUE}
-       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${VARBASE} \
+       ${_PKG_SILENT}${_PKG_DEBUG}${FIND} ${VARBASE} -print \
                2>/dev/null ${CHECK_FILES_SKIP_CMD} >${WRKDIR}/.varbase.post \
                || ${TRUE}
 .  endif



Home | Main Index | Thread Index | Old Index