From eae870f3f6b649a0b475997de205fadec99e8072 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 26 Mar 1998 13:56:42 +0000 Subject: [PATCH] PR #3512 by Ty Sarna: add parsing of ${RCS_LOCALID} make variable to set the local id. This matches the variable used in the cvs-current pkg and the (unsubmitted, but used by third parties) rcs-5.7 pkg. --- gnu/usr.bin/rcs/lib/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/usr.bin/rcs/lib/Makefile b/gnu/usr.bin/rcs/lib/Makefile index 186afd923282..876cd257978e 100644 --- a/gnu/usr.bin/rcs/lib/Makefile +++ b/gnu/usr.bin/rcs/lib/Makefile @@ -1,12 +1,14 @@ -# $NetBSD: Makefile,v 1.13 1997/10/25 10:12:51 lukem Exp $ +# $NetBSD: Makefile,v 1.14 1998/03/26 13:56:42 tv Exp $ # Define FSYNC_ALL to get slower but safer writes in case of crashes in # the middle of CVS/RCS changes CPPFLAGS+=-DFSYNC_ALL # If you wish to use a different Id token in addition to Id, -# uncomment the following line and edit to taste. -#CPPFLAGS+=-DLOCALID=\"Foo\" +# set the variable RCS_LOCALID in mk.conf or environment. +.if defined(RCS_LOCALID) +CPPFLAGS+=-DLOCALID=\"${RCS_LOCALID}\" +.endif LIB= rcs SRCS= maketime.c merger.c partime.c rcsedit.c rcsfcmp.c rcsfnms.c rcsgen.c \