Module Name:    src
Committed By:   christos
Date:           Fri Oct  7 15:30:01 UTC 2016

Modified Files:
        src/usr.sbin/zdump: Makefile
        src/usr.sbin/zic: Makefile

Log Message:
update for tzcode 2016g


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/zdump/Makefile
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/zic/Makefile

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

Modified files:

Index: src/usr.sbin/zdump/Makefile
diff -u src/usr.sbin/zdump/Makefile:1.10 src/usr.sbin/zdump/Makefile:1.11
--- src/usr.sbin/zdump/Makefile:1.10	Tue Apr 28 15:59:14 2015
+++ src/usr.sbin/zdump/Makefile	Fri Oct  7 11:30:01 2016
@@ -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 @@ PROG=	zdump
 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

Index: src/usr.sbin/zic/Makefile
diff -u src/usr.sbin/zic/Makefile:1.16 src/usr.sbin/zic/Makefile:1.17
--- src/usr.sbin/zic/Makefile:1.16	Tue Apr 28 13:00:42 2015
+++ src/usr.sbin/zic/Makefile	Fri Oct  7 11:30:01 2016
@@ -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 @@ COPTS.zic.c	+= -Wno-format-nonliteral
 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>

Reply via email to