pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/check Look into DESTDIR when checking for WRKDIR re...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa3d09e6b8da
branches:  trunk
changeset: 521129:aa3d09e6b8da
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Nov 05 14:46:50 2006 +0000

description:
Look into DESTDIR when checking for WRKDIR references.

diffstat:

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

diffs (18 lines):

diff -r c38c9974fa65 -r aa3d09e6b8da mk/check/check-wrkref.mk
--- a/mk/check/check-wrkref.mk  Sun Nov 05 14:39:11 2006 +0000
+++ b/mk/check/check-wrkref.mk  Sun Nov 05 14:46:50 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: check-wrkref.mk,v 1.6 2006/10/16 19:02:53 seb Exp $
+# $NetBSD: check-wrkref.mk,v 1.7 2006/11/05 14:46:50 joerg Exp $
 
 .if defined(PKG_DEVELOPER)
 CHECK_WRKREF?=         tools
@@ -45,7 +45,7 @@
        ${_PKG_SILENT}${_PKG_DEBUG}${RM} -f ${ERROR_DIR}/${.TARGET}
        ${_PKG_SILENT}${_PKG_DEBUG}                                     \
        exec 1>${ERROR_DIR}/${.TARGET};                                 \
-       cd ${PREFIX};                                                   \
+       cd ${DESTDIR}${PREFIX};                                         \
        ${_CHECK_WRKREF_FILELIST_CMD} | ${SORT} |                       \
        while read file; do                                             \
                ${_CHECK_WRKREF_SKIP_FILTER};                           \



Home | Main Index | Thread Index | Old Index