Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin update for tzcode 2016g



details:   https://anonhg.NetBSD.org/src/rev/d688101e9af4
branches:  trunk
changeset: 348169:d688101e9af4
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Oct 07 15:30:01 2016 +0000

description:
update for tzcode 2016g

diffstat:

 usr.sbin/zdump/Makefile |  4 ++--
 usr.sbin/zic/Makefile   |  7 +++++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r 1b2269084681 -r d688101e9af4 usr.sbin/zdump/Makefile
--- a/usr.sbin/zdump/Makefile   Fri Oct 07 15:29:42 2016 +0000
+++ b/usr.sbin/zdump/Makefile   Fri Oct 07 15:30:01 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2015/04/28 19:59:14 martin Exp $
+#      $NetBSD: Makefile,v 1.11 2016/10/07 15:30:01 christos Exp $
 
 .include "${.PARSEDIR}/../zic/Makefile.inc"
 .include <bsd.own.mk>
@@ -7,7 +7,7 @@
 SRCS=  zdump.c
 MAN=   zdump.8
 
-TZVERSION!= ${TOOL_SED} -ne 's/VERSION=[       ]*//p' ${NETBSDSRCDIR}/lib/libc/time/Makefile
+TZVERSION!= ${TOOL_SED} -ne 's/^VERSION=[      ]*//p' ${NETBSDSRCDIR}/lib/libc/time/Makefile
 CPPFLAGS+=-DPKGVERSION='"(tzcode) "' -DTZVERSION='"${TZVERSION}"'
 
 COPTS.zdump.c += -Wno-format-nonliteral
diff -r 1b2269084681 -r d688101e9af4 usr.sbin/zic/Makefile
--- a/usr.sbin/zic/Makefile     Fri Oct 07 15:29:42 2016 +0000
+++ b/usr.sbin/zic/Makefile     Fri Oct 07 15:30:01 2016 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.16 2015/04/28 17:00:42 christos Exp $
+#      $NetBSD: Makefile,v 1.17 2016/10/07 15:30:01 christos Exp $
 
 .include "Makefile.inc"
 .include <bsd.own.mk>
@@ -8,9 +8,12 @@
 PROG=  zic
 SRCS=  zic.c
 MAN=   zic.8
-TZVERSION!= ${TOOL_SED} -ne 's/VERSION=[       ]*//p' ${NETBSDSRCDIR}/lib/libc/time/Makefile
+TZVERSION!= ${TOOL_SED} -ne 's/^VERSION=[      ]*//p' ${NETBSDSRCDIR}/lib/libc/time/Makefile
 CPPFLAGS+=-DPKGVERSION='"(tzcode) "' -DTZVERSION='"${TZVERSION}"'
 
 .PATH: ${NETBSDSRCDIR}/lib/libc/time
 
+LDADD+=-lutil
+DPADD+=${LIBUTIL}
+
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index