pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Move the check-files-post check so that it is done ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/caf23a374e09
branches:  trunk
changeset: 498030:caf23a374e09
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Wed Aug 10 18:21:07 2005 +0000

description:
Move the check-files-post check so that it is done after the automatic
manual page handling.  This prevents the check from reporting errors
for manpages that are (un)compressed by the automatic manual page handling.

diffstat:

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

diffs (29 lines):

diff -r b0403a821f36 -r caf23a374e09 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Wed Aug 10 17:50:17 2005 +0000
+++ b/mk/bsd.pkg.mk     Wed Aug 10 18:21:07 2005 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1711 2005/08/08 15:38:19 veego Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1712 2005/08/10 18:21:07 kristerw Exp $
 #
 # This file is in the public domain.
 #
@@ -2118,9 +2118,6 @@
                # listed in the PLIST.                                          \
                #
        ${_PKG_SILENT}${_PKG_DEBUG}cd ${.CURDIR} && ${MAKE} ${MAKEFLAGS} ${PLIST}
-.if empty(CHECK_FILES:M[nN][oO])
-       ${_PKG_SILENT}${_PKG_DEBUG}cd ${.CURDIR} && ${MAKE} ${MAKEFLAGS} check-files-post
-.endif
        ${_PKG_SILENT}${_PKG_DEBUG}cd ${.CURDIR} && ${MAKE} ${MAKEFLAGS} post-install-script
        ${_PKG_SILENT}${_PKG_DEBUG}newmanpages=`${EGREP} -h             \
                '^([^@/]*/)*man/([^/]*/)?(man[1-9ln]/.*\.[1-9ln]|cat[1-9ln]/.*\.0)(\.gz)?$$' \
@@ -2163,6 +2160,9 @@
                        fi;                                             \
                done;                                                   \
        fi
+.if empty(CHECK_FILES:M[nN][oO])
+       ${_PKG_SILENT}${_PKG_DEBUG}cd ${.CURDIR} && ${MAKE} ${MAKEFLAGS} check-files-post
+.endif
 .if ${_DO_SHLIB_CHECKS} == "yes"
 .  if ${PKG_INSTALLATION_TYPE} == "overwrite"
        ${_PKG_SILENT}${_PKG_DEBUG}                                     \



Home | Main Index | Thread Index | Old Index