diff options
author | ru <ru@FreeBSD.org> | 2003-04-11 17:58:17 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-04-11 17:58:17 +0000 |
commit | 18679452c0c49cdecb3e867764c6c608bc286677 (patch) | |
tree | cc98506b878dcaef36bf3a415edfe72ebaf75762 /tools/build | |
parent | a9636d4e105d68b788ec609018ea707072a32761 (diff) | |
download | FreeBSD-src-18679452c0c49cdecb3e867764c6c608bc286677.zip FreeBSD-src-18679452c0c49cdecb3e867764c6c608bc286677.tar.gz |
libc_gen/basename.c depends on include/libgen.h.
Diffstat (limited to 'tools/build')
-rw-r--r-- | tools/build/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/build/Makefile b/tools/build/Makefile index 2dc1a27..4bf2934 100644 --- a/tools/build/Makefile +++ b/tools/build/Makefile @@ -31,9 +31,9 @@ INCS+= stdbool.h INCS+= langinfo.h .endif -# gnu/usr.bin/binutils/libiberty needs basename(3). -.if ( ${BOOTSTRAPPING} < 440000 || \ - ( ${BOOTSTRAPPING} >= 500000 && ${BOOTSTRAPPING} < 500022 )) +# Some tools need basename(3). +.if !exists(/usr/include/libgen.h) +INCS+= libgen.h .PATH: ${.CURDIR}/../../lib/libc/gen SRCS+= basename.c .endif |