summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-14 22:02:00 +0000
committerjlam <jlam@pkgsrc.org>2005-06-14 22:02:00 +0000
commit583f36afb4dce744841d808ea94c8be337ea237e (patch)
tree17d0b8a17c5bfd020bb5f4e0c104172cdc35107e /mk/bsd.pkg.mk
parent1a1151139f5486a970a93252146ac5f6114a85c8 (diff)
downloadpkgsrc-583f36afb4dce744841d808ea94c8be337ea237e.tar.gz
Allow the test for whether the file is a text file to be overridden via
CHECK_WRKREF_IS_TEXT_FILE.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index e506b8d94b2..4250685fdf3 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1695 2005/06/13 02:25:50 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1696 2005/06/14 22:02:00 jlam Exp $
#
# This file is in the public domain.
#
@@ -2568,6 +2568,7 @@ MAKEVARS+= _CHECK_WRKREF_SKIP_FILTER
_CHECK_WRKREF_SKIP_FILTER= ${TRUE}
.endif
CHECK_WRKREF_PKG?= ${PKGNAME}
+CHECK_WRKREF_IS_TEXT_FILE?= ${_SUBST_IS_TEXT_FILE}
.PHONY: check-wrkref
check-wrkref:
@@ -2579,7 +2580,7 @@ check-wrkref:
{ while read file; do \
${_CHECK_WRKREF_SKIP_FILTER}; \
${SHCOMMENT} [$$file]; \
- if ${_SUBST_IS_TEXT_FILE}; then \
+ if ${CHECK_WRKREF_IS_TEXT_FILE}; then \
if ${GREP} -H ${WRKDIR:Q} "$$file" 2>/dev/null; then \
found_wrkdir=1; \
fi; \