summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortonio <tonio>2006-03-10 11:02:00 +0000
committertonio <tonio>2006-03-10 11:02:00 +0000
commit3341e6437deab42ee0e3c64afa0dfae785046986 (patch)
treeb5144dc237c1064ea5ec63bf4e67ee68dea2693f /mk
parent71df4be3011fd84b3895f42e25c3ff6c851c97cf (diff)
downloadpkgsrc-3341e6437deab42ee0e3c64afa0dfae785046986.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; \