diff options
author | joerg <joerg@pkgsrc.org> | 2006-11-05 14:46:50 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-11-05 14:46:50 +0000 |
commit | 144c44a4acdc76b28e38c6dab500d1f4d788aa79 (patch) | |
tree | fc6c47998a5cdae069660b7f4741f3300e741af0 /mk | |
parent | ca28d631e8ccea9393e606f35ed09131a94d12c7 (diff) | |
download | pkgsrc-144c44a4acdc76b28e38c6dab500d1f4d788aa79.tar.gz |
Look into DESTDIR when checking for WRKDIR references.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/check/check-wrkref.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/check/check-wrkref.mk b/mk/check/check-wrkref.mk index b1ba80e702e..91cc3ebf583 100644 --- a/mk/check/check-wrkref.mk +++ b/mk/check/check-wrkref.mk @@ -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 @@ check-wrkref: error-check ${_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}; \ |