summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron>2006-11-23 16:27:53 +0000
committertron <tron>2006-11-23 16:27:53 +0000
commit49342720f6ac3b5e6a5df323e3f801d64f546137 (patch)
treee607d62412eace7cd69adce63beecbd3c1c31b29 /mk
parenteef6d7884af782a75ff9b08d5432437173a29be5 (diff)
downloadpkgsrc-49342720f6ac3b5e6a5df323e3f801d64f546137.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