summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2006-03-10 11:02:00 +0000
committertonio <tonio@pkgsrc.org>2006-03-10 11:02:00 +0000
commit5371ea65c792dba9ebce7c9133dfb806bb9bdd0f (patch)
treeb5144dc237c1064ea5ec63bf4e67ee68dea2693f /mk
parentaf527ca99412b096564b4dfa7d8dd88c1f5b451c (diff)
downloadpkgsrc-5371ea65c792dba9ebce7c9133dfb806bb9bdd0f.tar.gz
replace-interpreter should use REPLACE_FILES.${lang} instead of
_REPLACE_FILES.${lang}
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 139a440a69c..647506d0ba8 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1804 2006/03/09 23:31:51 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1805 2006/03/10 11:02:00 tonio Exp $
#
# This file is in the public domain.
#
@@ -1526,12 +1526,12 @@ _CONFIGURE_PREREQ+= replace-interpreter
.PHONY: replace-interpreter
replace-interpreter:
. for lang in ${REPLACE_INTERPRETER}
-. for pattern in ${_REPLACE_FILES.${lang}}
+. for pattern in ${REPLACE_FILES.${lang}}
${_PKG_SILENT}${_PKG_DEBUG} \
cd ${WRKSRC}; \
for f in ${pattern}; do \
if [ -f $${f} ]; then \
- ${SED} -e '1s|^#!${_REPLACE.${lang}.old}|#!${_REPLACE.${lang}.new}|' \
+ ${SED} -e '1s|^#!${REPLACE.${lang}.old}|#!${REPLACE.${lang}.new}|' \
$${f} > $${f}.new; \
if [ -x $${f} ]; then \
${CHMOD} a+x $${f}.new; \