diff options
author | tron <tron> | 2002-01-06 02:36:40 +0000 |
---|---|---|
committer | tron <tron> | 2002-01-06 02:36:40 +0000 |
commit | 8438dba223ada305b48776ae7f38ab69dc2b19be (patch) | |
tree | 9bd07163aefe9a15412234a811d94c8ed3e48e3d /mk | |
parent | 8bb1dc4c5bfe35057b4dd561e34a5b55e1ebba4b (diff) | |
download | pkgsrc-8438dba223ada305b48776ae7f38ab69dc2b19be.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.mk | 4 |
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: |