summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2002-01-06 02:36:40 +0000
committertron <tron@pkgsrc.org>2002-01-06 02:36:40 +0000
commitaf1baae4b90df373b3754dfeba75eb79be6a9027 (patch)
tree9bd07163aefe9a15412234a811d94c8ed3e48e3d /mk
parentd9bbe5905dcf6461d99338335d61c27cd4222f5e (diff)
downloadpkgsrc-af1baae4b90df373b3754dfeba75eb79be6a9027.tar.gz
Fix file recognition for "unbuildlink-buildlink-subst" so it recognize
shell scripts under Solaris.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.buildlink.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.buildlink.mk b/mk/bsd.buildlink.mk
index f27982c5740..69db7304e08 100644
--- a/mk/bsd.buildlink.mk
+++ b/mk/bsd.buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink.mk,v 1.53 2002/01/03 20:00:06 jlam Exp $
+# $NetBSD: bsd.buildlink.mk,v 1.54 2002/01/06 02:36:40 tron Exp $
#
# This Makefile fragment is included by package buildlink.mk files. This
# file does the following things:
@@ -211,7 +211,7 @@ _BUILDLINK_CONFIG_WRAPPER_USE: .USE
${ECHO} ${BUILDLINK_CONFIG.${.TARGET:S/-buildlink-config-wrapper//}} >> $${cookie}; \
fi
-_CHECK_IS_TEXT_FILE= ${FILE_CMD} $${file} | ${GREP} "text" >/dev/null 2>&1
+_CHECK_IS_TEXT_FILE= ${FILE_CMD} $${file} | ${EGREP} "(shell script|text)" >/dev/null 2>&1
# _BUILDLINK_SUBST_USE is a make macro that executes code to do general text
# replacement in files. The following variables are used: