Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/zic set some variables we need
details: https://anonhg.NetBSD.org/src/rev/04b29d3dd74e
branches: trunk
changeset: 802898:04b29d3dd74e
user: christos <christos%NetBSD.org@localhost>
date: Tue Oct 07 22:14:05 2014 +0000
description:
set some variables we need
diffstat:
usr.sbin/zic/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r b38a608da3f9 -r 04b29d3dd74e usr.sbin/zic/Makefile
--- a/usr.sbin/zic/Makefile Tue Oct 07 21:52:41 2014 +0000
+++ b/usr.sbin/zic/Makefile Tue Oct 07 22:14:05 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2013/03/06 18:21:41 christos Exp $
+# $NetBSD: Makefile,v 1.15 2014/10/07 22:14:05 christos Exp $
.include "Makefile.inc"
.include <bsd.own.mk>
@@ -9,7 +9,8 @@
PROG= zic
SRCS= zic.c scheck.c ialloc.c
MAN= zic.8
-CPPFLAGS+=-Dunix
+TZVERSION!= ${TOOL_SED} -ne 's/VERSION=[ ]*//p' ${NETBSDSRCDIR}/lib/libc/time/Makefile
+CPPFLAGS+=-DPKGVERSION='"(tzcode) "' -DTZVERSION='"${TZVERSION}"'
.PATH: ${NETBSDSRCDIR}/lib/libc/time
Home |
Main Index |
Thread Index |
Old Index