Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/ntp/lib/libntp Fix awk programs to use $$ so ma...



details:   https://anonhg.NetBSD.org/src/rev/3d07c8a0de85
branches:  trunk
changeset: 326292:3d07c8a0de85
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jan 24 23:42:31 2014 +0000

description:
Fix awk programs to use $$ so make doesn't eat each $

diffstat:

 external/bsd/ntp/lib/libntp/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 72bb1895b233 -r 3d07c8a0de85 external/bsd/ntp/lib/libntp/Makefile
--- a/external/bsd/ntp/lib/libntp/Makefile      Fri Jan 24 23:20:33 2014 +0000
+++ b/external/bsd/ntp/lib/libntp/Makefile      Fri Jan 24 23:42:31 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2014/01/23 14:06:28 joerg Exp $
+#      $NetBSD: Makefile,v 1.11 2014/01/24 23:42:31 matt Exp $
 
 LIBISPRIVATE=yes
 
@@ -89,9 +89,9 @@
 #
 .if ${MKREPRO} == "yes"
 IMPORTDATE_FILE := ${.PARSEDIR}/../../importdate
-MKREPRO_DATE != ${TOOL_AWK} '{printf "%3s %2d %4d", $2, $3, $6}' \
+MKREPRO_DATE != ${TOOL_AWK} '{printf "%3s %2d %4d", $$2, $$3, $$6}' \
        <${IMPORTDATE_FILE} # "Mmm DD YYYY"
-MKREPRO_TIME != ${TOOL_AWK} '{print $4}' \
+MKREPRO_TIME != ${TOOL_AWK} '{print $$4}' \
        <${IMPORTDATE_FILE} # "HH:MM:SS"
 CPPFLAGS.ntp_calendar.c += -DMKREPRO_DATE=\"${MKREPRO_DATE:Q}\"
 CPPFLAGS.ntp_calendar.c += -DMKREPRO_TIME=\"${MKREPRO_TIME:Q}\"



Home | Main Index | Thread Index | Old Index