Source-Changes-HG archive

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

src: fix the variable name for then non-gmake case.



details:   https://anonhg.NetBSD.org/src/rev/d05abb75e53a
branches:  trunk
changeset: 318197:d05abb75e53a
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Apr 15 15:13:37 2018 +0000
description:
fix the variable name for then non-gmake case.

diffstat:

 tools/gcc/mknative.common |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r 20127e48a724 -r d05abb75e53a tools/gcc/mknative.common
--- a/tools/gcc/mknative.common Sun Apr 15 08:31:18 2018 +0000
+++ b/tools/gcc/mknative.common Sun Apr 15 15:13:37 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp $
+#      $NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp $
 #
 # from: NetBSD: mknative,v 1.12 2003/03/05 06:17:17 mrg Exp
 #
@@ -37,12 +37,12 @@
 EOF
                ;;
        *)
-       $MAKE -B -f - _x_ <<EOF || bomb "getvars $_mf $* failed"
+       $MAKE -B -f - _x_ <<EOF || bomb "getvars $_mfp $* failed"
 _x_:
 .for var in $*
        @echo G_\${var}=\${\${var}:Q} | sed -e 's,\([^\.]\)\./\([a-zA-Z0-9_-]*\.o\),\1\2,g' -e 's,$_VPATH,\$\${GNUHOSTDIST},g' -e 's,$_GNU_DIST,\$\${GNUHOSTDIST},g'
 .endfor
-.include "$_TMPDIR/$_mf"
+.include "$_TMPDIR/$_mfp"
 EOF
        ;;
        esac
@@ -65,7 +65,7 @@
        echo '/* This file is automatically generated.  DO NOT EDIT! */' >$_TOP/$1.tmp || \
                bomb "cannot create $1"
        grep '$''NetBSD' $0 | sed 's,[  #$],,g;s,.*,/* Generated from: & */,' >>$_TOP/$1.tmp
-       echo '$NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp $' | sed 's,[#$],,g;s,.*,/* Generated from: & */,' >>$_TOP/$1.tmp
+       echo '$NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp $' | sed 's,[#$],,g;s,.*,/* Generated from: & */,' >>$_TOP/$1.tmp
        echo '' >>$_TOP/$1.tmp
        writefile $1
 }
@@ -77,7 +77,7 @@
        echo '# This file is automatically generated.  DO NOT EDIT!' >$_TOP/$1.tmp || \
                bomb "cannot create $1"
        grep '$''NetBSD' $0 | sed 's,[  #$],,g;s,.*,# Generated from: &,' >>$_TOP/$1.tmp
-       echo '$NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp $' | sed 's,[#$],,g;s,.*,# Generated from: &,' >>$_TOP/$1.tmp
+       echo '$NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp $' | sed 's,[#$],,g;s,.*,# Generated from: &,' >>$_TOP/$1.tmp
        echo '#' >>$_TOP/$1.tmp
        writefile $1
 }



Home | Main Index | Thread Index | Old Index