summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-08-31 07:18:40 +0000
committerpeter <peter@FreeBSD.org>2002-08-31 07:18:40 +0000
commite9b69040911ee1febbec3a2f2f93cf920d7d50db (patch)
treee5675153d8b00209e5e6c861207a1b842ce8995d /usr.bin/make
parent956a397806c3486e9daeb98d53c368e7688af40b (diff)
downloadFreeBSD-src-e9b69040911ee1febbec3a2f2f93cf920d7d50db.zip
FreeBSD-src-e9b69040911ee1febbec3a2f2f93cf920d7d50db.tar.gz
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.
Diffstat (limited to 'usr.bin/make')
-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 4f46cae..6208a28 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}
OpenPOWER on IntegriCloud