diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-07-23 08:22:49 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-07-23 08:22:49 +0000 |
commit | 5b81c621570a7aea3c305211aaba7ac3927f85a6 (patch) | |
tree | 19d2abbe9a0b2f43be9b51f130b41529a4982293 /Makefile | |
parent | 74c965153c5a01c541c7015d06648c4e2fd30d39 (diff) | |
download | src-5b81c621570a7aea3c305211aaba7ac3927f85a6.tar.gz src-5b81c621570a7aea3c305211aaba7ac3927f85a6.zip |
MFC: 1.247: Bootstrap make(1) not supporting the :C modifier
(currently used by sys/dev/aic7xxx/aicasm/Makefile,v 1.8.2.3).
Notes
Notes:
svn path=/stable/4/; revision=100554
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -161,6 +161,11 @@ upgrade_checks: if ! make -m ${.CURDIR}/share/mk -Dnotdef test >/dev/null 2>&1; then \ make make; \ fi + @cd ${.CURDIR}; \ + if make -V .CURDIR:C/.// 2>&1 >/dev/null | \ + grep -q "Unknown modifier 'C'"; then \ + make make; \ + fi # # A simple test target used as part of the test to see if make supports |