diff options
author | jlam <jlam@pkgsrc.org> | 2005-06-14 22:02:00 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-06-14 22:02:00 +0000 |
commit | ccd8fe4d4ced667a2c792c92eb6e6de4368aaa8c (patch) | |
tree | 17d0b8a17c5bfd020bb5f4e0c104172cdc35107e | |
parent | 7fa28f3c068c6b1c468183bfae09f52ed035724e (diff) | |
download | pkgsrc-ccd8fe4d4ced667a2c792c92eb6e6de4368aaa8c.tar.gz |
Allow the test for whether the file is a text file to be overridden via
CHECK_WRKREF_IS_TEXT_FILE.
-rw-r--r-- | mk/bsd.pkg.mk | 5 |
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; \ |