pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Allow the test for whether the file is a text file ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/baddee761369
branches: trunk
changeset: 495602:baddee761369
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue Jun 14 22:02:00 2005 +0000
description:
Allow the test for whether the file is a text file to be overridden via
CHECK_WRKREF_IS_TEXT_FILE.
diffstat:
mk/bsd.pkg.mk | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 9a7b378962ef -r baddee761369 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Tue Jun 14 21:00:41 2005 +0000
+++ b/mk/bsd.pkg.mk Tue Jun 14 22:02:00 2005 +0000
@@ -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 @@
_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 @@
{ 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; \
Home |
Main Index |
Thread Index |
Old Index