Index: Mk/Scripts/qa.sh =================================================================== --- Mk/Scripts/qa.sh +++ Mk/Scripts/qa.sh @@ -126,7 +126,7 @@ rc=1 # Use heredoc to avoid losing rc from find|while subshell done <<-EOF - $(find ${STAGEDIR} -type f -exec grep -l "${STAGEDIR}" {} +) + $(find ${TMPPLIST} ${STAGEDIR} -type f -exec grep -l "${STAGEDIR}" {} +) EOF return ${rc} Index: Mk/bsd.stage.mk =================================================================== --- Mk/bsd.stage.mk +++ Mk/bsd.stage.mk @@ -13,7 +13,8 @@ QA_ENV+= STAGEDIR=${STAGEDIR} \ PREFIX=${PREFIX} \ LOCALBASE=${LOCALBASE} \ - "STRIP=${STRIP}" + "STRIP=${STRIP}" \ + TMPPLIST=${TMPPLIST} .if !empty(USES:Mdesktop-file-utils) QA_ENV+= USESDESKTOPFILEUTILS=yes .endif