pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk replace-interpreter should use REPLACE_FILES.${lang...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67534af9c57a
branches:  trunk
changeset: 509448:67534af9c57a
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Fri Mar 10 11:02:00 2006 +0000

description:
replace-interpreter should use REPLACE_FILES.${lang} instead of
_REPLACE_FILES.${lang}

diffstat:

 mk/bsd.pkg.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r df0638677ee4 -r 67534af9c57a mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Fri Mar 10 10:16:53 2006 +0000
+++ b/mk/bsd.pkg.mk     Fri Mar 10 11:02:00 2006 +0000
@@ -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 @@
 .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;                     \



Home | Main Index | Thread Index | Old Index