Subject: Re: bin/24244: usr.sbin/ntp/* report version as 4.0.99i not 4.2.0
To: None <netbsd-bugs@netbsd.org>
From: Geoff Wing <gcw@pobox.com>
List: netbsd-bugs
Date: 01/27/2004 13:12:42
This patch should be enough (*) though the reason for the .version file in
the usr.sbin tree escapes me unless it's just to mirror the dist stuff.

(*) for how ntp gets updated in our tree

--- /usr/src/usr.sbin/ntp/Makefile.inc	2004-01-04 14:14:06.000000000 +1100
+++ /obj/src/usr.sbin/ntp/Makefile.inc	2004-01-27 13:03:37.000000000 +1100
@@ -26,7 +26,7 @@
 
 SRCS+=	version.c
 CLEANFILES+=version.c version.o .version
-.version:
+.version: ${.CURDIR}/../scripts/mkver
 	${_MKTARGET_CREATE}
 	${HOST_SH} ${.CURDIR}/../scripts/mkver ${PROG} > /dev/null
 version.c: .version ${LIBNTP}/libntp.a