summaryrefslogtreecommitdiff
path: root/mk/check
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-05-12 06:17:50 +0000
committerobache <obache@pkgsrc.org>2013-05-12 06:17:50 +0000
commit30d842f21301e886e7d135bb5ccd1b7f7b09854b (patch)
tree05e5c335af13f8acdc1b5ef8976050c3d844c531 /mk/check
parent029d817c378464f62b3979d8fe3bc4d12d8094ed (diff)
downloadpkgsrc-30d842f21301e886e7d135bb5ccd1b7f7b09854b.tar.gz
drop `file' command from default USE_TOOLS list.
It is used in limited case, and does not exist by default on some platforms. proposed at over 30 months ago, and no negative feedback (only one request).
Diffstat (limited to 'mk/check')
-rw-r--r--mk/check/check-stripped.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/check/check-stripped.mk b/mk/check/check-stripped.mk
index f84c9916913..60d64685e33 100644
--- a/mk/check/check-stripped.mk
+++ b/mk/check/check-stripped.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-stripped.mk,v 1.4 2010/08/24 19:08:29 bad Exp $
+# $NetBSD: check-stripped.mk,v 1.5 2013/05/12 06:17:50 obache Exp $
#
# This file checks that after installation, all binaries conform to the
# setting of INSTALL_UNSTRIPPED.
@@ -31,6 +31,9 @@ _CHECK_STRIPPED_FILELIST_CMD?= ${SED} -e '/^@/d' ${PLIST}
.if !empty(CHECK_STRIPPED:M[Yy][Ee][Ss])
privileged-install-hook: _check-stripped
+. if empty(USE_TOOLS:Mfile)
+USE_TOOLS+= file
+. endif
.endif
_check-stripped: error-check .PHONY