summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-11-23 16:27:53 +0000
committertron <tron@pkgsrc.org>2006-11-23 16:27:53 +0000
commit5e12c6a0bc61c1f05b841c356d18a34227595eaa (patch)
treee607d62412eace7cd69adce63beecbd3c1c31b29 /mk
parentf2b4da02dd7335c17080e1778f966672cb1aea72 (diff)
downloadpkgsrc-5e12c6a0bc61c1f05b841c356d18a34227595eaa.tar.gz
file(1) under NetBSD-sparc64 4.99.4 identifies the file
"gdk-pixbuf/Makefile.in" from the "gtk2" package as "libtool library file". Change the textfile check to accept any file which file(1) identifies as "<whatever>libtool<whateverelse>" to fix the build of the "gtk2" package (and probably other packages).
Diffstat (limited to 'mk')
-rw-r--r--mk/subst.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/subst.mk b/mk/subst.mk
index f6c0bac8a11..85aaa0b35b3 100644
--- a/mk/subst.mk
+++ b/mk/subst.mk
@@ -1,4 +1,4 @@
-# $NetBSD: subst.mk,v 1.36 2006/11/09 02:06:29 rillig Exp $
+# $NetBSD: subst.mk,v 1.37 2006/11/23 16:27:53 tron Exp $
#
# This Makefile fragment implements a general text replacement facility.
# Package makefiles define a ``class'', for each of which a particular
@@ -39,7 +39,7 @@ ECHO_SUBST_MSG?= ${STEP_MSG}
_SUBST_IS_TEXT_FILE?= \
{ ${TEST} -f "$$file" \
&& ${FILE_CMD} "$$file" \
- | ${EGREP} "(executable .* script|shell script|text)"; \
+ | ${EGREP} "(executable .* script|shell script|text|libtool)"; \
} >/dev/null 2>&1
_SUBST_BACKUP_SUFFIX= .subst.sav