summaryrefslogtreecommitdiff
path: root/mk/check
diff options
context:
space:
mode:
authorriastradh <riastradh@pkgsrc.org>2013-05-09 23:37:25 +0000
committerriastradh <riastradh@pkgsrc.org>2013-05-09 23:37:25 +0000
commit4fc9f564bc1e55c92794e22b9db447cf95ad6873 (patch)
treeeef7f13a77e111e43481a085f3d5cf0aabb03aa6 /mk/check
parentb37693d50bffe0f7a872147d65f66229a1b8ff64 (diff)
downloadpkgsrc-4fc9f564bc1e55c92794e22b9db447cf95ad6873.tar.gz
Split BUILD_DEPENDS into TOOL_DEPENDS and BUILD_DEPENDS in mk/.
Build depends are target packages that are needed at build-time for, e.g., static libraries to link against, header files to include, &c. Tool depends are native packages that are needed at build-time for, e.g., compilers/linkers/&c. to run. ok agc
Diffstat (limited to 'mk/check')
-rw-r--r--mk/check/check-perms.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/check/check-perms.mk b/mk/check/check-perms.mk
index 53394611cd8..e1802c28afe 100644
--- a/mk/check/check-perms.mk
+++ b/mk/check/check-perms.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-perms.mk,v 1.13 2010/08/24 19:08:29 bad Exp $
+# $NetBSD: check-perms.mk,v 1.14 2013/05/09 23:37:25 riastradh Exp $
#
# This file checks that after installation of a package, all files and
# directories of that package have sensible permissions set.
@@ -55,7 +55,7 @@ _CHECK_PERMS_FLAGS= -c
.endif
.if !empty(CHECK_PERMS:M[Yy][Ee][Ss])
-BUILD_DEPENDS+= checkperms>=1.1:../../sysutils/checkperms
+TOOL_DEPENDS+= checkperms>=1.1:../../sysutils/checkperms
privileged-install-hook: _check-perms
.endif
@@ -75,7 +75,7 @@ _CHECK_PERMS_GETDIRS_AWK= \
_check-perms: .PHONY
@${STEP_MSG} "Checking file permissions in ${PKGNAME}"
- ${RUN} ${PKG_INFO} -qe "checkperms>=1.1" \
+ ${RUN} ${HOST_PKG_INFO} -qe "checkperms>=1.1" \
|| { \
${WARNING_MSG} "[check-perms.mk] Skipping file permissions check."; \
${WARNING_MSG} "[check-perms.mk] Install sysutils/checkperms to enable this check."; \