diff options
author | Max Khon <fjoe@FreeBSD.org> | 2008-03-31 19:28:13 +0000 |
---|---|---|
committer | Max Khon <fjoe@FreeBSD.org> | 2008-03-31 19:28:13 +0000 |
commit | e658937aa446b5f5c381fb6096823fe485c7e53c (patch) | |
tree | deba159adf3de28914203a4d83a2ff9a0f02f3bb | |
parent | 0c2811ebc3b3541c8386563773719224d6112036 (diff) |
Conditionally add mklocale and gencat to bootstrap-tools to allow to build
RELENG_5 on later FreeBSD versions.
Notes
Notes:
svn path=/stable/5/; revision=177803
-rw-r--r-- | Makefile.inc1 | 10 | ||||
-rw-r--r-- | tools/build/Makefile | 5 |
2 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index be32c8f5bbf3..577b17f26d11 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -813,6 +813,14 @@ _groff= gnu/usr.bin/groff/tmac _lex= usr.bin/lex .endif +.if ${BOOTSTRAPPING} >= 600016 +_mklocale= usr.bin/mklocale +.endif + +.if ${BOOTSTRAPPING} >= 600017 +_gencat= usr.bin/gencat +.endif + .if ${BOOTSTRAPPING} < 450005 || \ ${BOOTSTRAPPING} >= 500000 && ${BOOTSTRAPPING} < 500034 _uudecode= usr.bin/uudecode @@ -848,8 +856,10 @@ bootstrap-tools: ${_groff} \ gnu/usr.bin/texinfo \ usr.bin/colldef \ + ${_gencat} \ ${_lex} \ usr.bin/makewhatis \ + ${_mklocale} \ usr.bin/rpcgen \ ${_uudecode} \ ${_xargs} \ diff --git a/tools/build/Makefile b/tools/build/Makefile index 7b25322b5341..83b7b0100742 100644 --- a/tools/build/Makefile +++ b/tools/build/Makefile @@ -63,6 +63,11 @@ SRCS+= getopt_long.c INCS+= regex.h .endif +# mklocale(1) requires rune.h +.if ${BOOTSTRAPPING} >= 600016 +INCS+= rune.h +.endif + .if empty(SRCS) SRCS= dummy.c .endif |