Source-Changes-HG archive

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

[src/trunk]: src/external/cddl/osnet/dist/lib/libdtrace/common Build fix atte...



details:   https://anonhg.NetBSD.org/src/rev/0adc1eadc108
branches:  trunk
changeset: 319408:0adc1eadc108
user:      kre <kre%NetBSD.org@localhost>
date:      Tue May 29 01:09:49 2018 +0000

description:
Build fix attempt, use TOOL_AWK (with fallback to "awk") rather than "nawk".

diffstat:

 external/cddl/osnet/dist/lib/libdtrace/common/mknames.sh |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r bf5b46c7850f -r 0adc1eadc108 external/cddl/osnet/dist/lib/libdtrace/common/mknames.sh
--- a/external/cddl/osnet/dist/lib/libdtrace/common/mknames.sh  Mon May 28 23:47:39 2018 +0000
+++ b/external/cddl/osnet/dist/lib/libdtrace/common/mknames.sh  Tue May 29 01:09:49 2018 +0000
@@ -46,7 +46,7 @@
 {\n\
        switch (subr) {"
 
-nawk '
+${TOOL_AWK:-awk} '
 /^#define[     ]*DIF_SUBR_/ && $2 != "DIF_SUBR_MAX" {
        printf("\tcase %s: return (\"%s\");\n", $2, tolower(substr($2, 10)));
 }'



Home | Main Index | Thread Index | Old Index