summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorrillig <rillig>2006-01-12 00:40:19 +0000
committerrillig <rillig>2006-01-12 00:40:19 +0000
commite9c95d1089910b11ad945019a66a3f9cbac1c71d (patch)
tree12f2dec6d5317dcce40ae99626960e40b942d15d /mk/bsd.pkg.mk
parent53158367178c81ef1578511f1033f87edea957a3 (diff)
downloadpkgsrc-e9c95d1089910b11ad945019a66a3f9cbac1c71d.tar.gz
Added the target check-interpreter to bsd.pkg.check.mk, which checks
that the interpreter of "#!"-style scripts exists. It is disabled by default, and can be enabled by setting CHECK_INTERPRETER=yes. As for the other check-* targets, CHECK_INTERPRETER_SKIP is a list of shell globs that can be used to to skip certain files. Ok'ed by jlam.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 3ab3ccd800e..d4190dd1431 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1786 2006/01/11 05:48:19 schmonz Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1787 2006/01/12 00:40:19 rillig Exp $
#
# This file is in the public domain.
#
@@ -2179,6 +2179,9 @@ real-su-install: ${MESSAGE}
.if empty(CHECK_FILES:M[nN][oO])
${_PKG_SILENT}${_PKG_DEBUG}${MAKE} ${MAKEFLAGS} check-files
.endif
+.if empty(CHECK_INTERPRETER:M[nN][oO])
+ ${_PKG_SILENT}${_PKG_DEBUG}${MAKE} ${MAKEFLAGS} check-interpreter
+.endif