Make us bootstrap on FreeBSD-6.x. Joerg seemed to fix it before, but
authorSimon Schubert <corecode@dragonflybsd.org>
Sat, 9 Jul 2005 11:05:10 +0000 (11:05 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Sat, 9 Jul 2005 11:05:10 +0000 (11:05 +0000)
only make got -DBOOTSTRAPPING passed, not CFLAGS.

Reported-by: Robert Sebastian Gerus <arachnist@gmail.com>
usr.bin/patch/Makefile

index b996e02..f936b51 100644 (file)
@@ -1,8 +1,12 @@
 #      $OpenBSD: Makefile,v 1.3 2003/07/18 02:00:09 deraadt Exp $
-#      $DragonFly: src/usr.bin/patch/Makefile,v 1.4 2005/04/22 06:52:42 joerg Exp $
+#      $DragonFly: src/usr.bin/patch/Makefile,v 1.5 2005/07/09 11:05:10 corecode Exp $
 
 PROG=  patch
 SRCS=  patch.c pch.c inp.c util.c backupfile.c
 WARNS?=        6
 
+.if defined(BOOTSTRAPPING)
+CFLAGS+= -DBOOTSTRAPPING
+.endif
+
 .include <bsd.prog.mk>