Module Name:    src
Committed By:   christos
Date:           Sun Apr 15 15:13:37 UTC 2018

Modified Files:
        src/tools/gcc: mknative.common

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


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/tools/gcc/mknative.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tools/gcc/mknative.common
diff -u src/tools/gcc/mknative.common:1.15 src/tools/gcc/mknative.common:1.16
--- src/tools/gcc/mknative.common:1.15	Tue Nov 28 22:32:28 2017
+++ src/tools/gcc/mknative.common	Sun Apr 15 11:13:37 2018
@@ -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 @@ _x_:
 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 @@ write_c()
 	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 @@ write_mk()
 	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
 }

Reply via email to