Module Name:    src
Committed By:   christos
Date:           Thu Oct 20 17:38:28 UTC 2016

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

Log Message:
we keep version separately now


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 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/zic/Makefile
diff -u src/usr.sbin/zic/Makefile:1.18 src/usr.sbin/zic/Makefile:1.19
--- src/usr.sbin/zic/Makefile:1.18	Fri Oct  7 17:55:29 2016
+++ src/usr.sbin/zic/Makefile	Thu Oct 20 13:38:28 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.18 2016/10/07 21:55:29 christos Exp $
+#	$NetBSD: Makefile,v 1.19 2016/10/20 17:38:28 christos Exp $
 
 .include "Makefile.inc"
 .include <bsd.own.mk>
@@ -8,7 +8,7 @@ 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_CAT} ${NETBSDSRCDIR}/lib/libc/time/version
 CPPFLAGS+=-DPKGVERSION='"(tzcode) "' -DTZVERSION='"${TZVERSION}"'
 
 .PATH: ${NETBSDSRCDIR}/lib/libc/time

Reply via email to