diff options
author | joerg <joerg> | 2006-11-05 14:46:50 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-11-05 14:46:50 +0000 |
commit | ff5bf0e5b209d7081cba059892433d4b3d7ee6a0 (patch) | |
tree | fc6c47998a5cdae069660b7f4741f3300e741af0 /mk | |
parent | 190be1623bfc69371308c0ead472ae18a9fea619 (diff) | |
download | pkgsrc-ff5bf0e5b209d7081cba059892433d4b3d7ee6a0.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}; \ |