aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-08-31 07:18:40 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-08-31 07:18:40 +0000
commit7b2f27b0fe1959aad1d2a995f15e8022e73544d7 (patch)
treee5675153d8b00209e5e6c861207a1b842ce8995d /usr.bin
parent02b8bc80620c58d4caf607544f63cdb6a823419f (diff)
downloadsrc-7b2f27b0fe1959aad1d2a995f15e8022e73544d7.tar.gz
src-7b2f27b0fe1959aad1d2a995f15e8022e73544d7.zip
Deal with bootstrapping from an old -current (almost exactly a year old)
which fails the make tests (doesn't understand ${notdef:U}) and therefore fails on __FBSDID in usr.bin/make/*. -DBOOTSTRAPPING is no help here since this is before we are using the new share/mk/* files, and it would conflict with the builtin -DBOOTSTRAPPING support later.. so use a different flag.
Notes
Notes: svn path=/head/; revision=102692
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/make/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/make/Makefile b/usr.bin/make/Makefile
index 4f46cae06534..6208a2819daa 100644
--- a/usr.bin/make/Makefile
+++ b/usr.bin/make/Makefile
@@ -16,6 +16,9 @@ SRCS+= lstAppend.c lstAtEnd.c lstAtFront.c lstClose.c lstConcat.c \
NOSHARED?= YES
CFLAGS+=-DMAKE_VERSION=\"5200208240\"
+.if defined(_UPGRADING)
+CFLAGS+=-D__FBSDID=__RCSID
+.endif
main.o: ${MAKEFILE}