mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
libc_gen/basename.c depends on include/libgen.h.
This commit is contained in:
parent
d75de53699
commit
7552a592f4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113368
@ -625,6 +625,7 @@ legacy:
|
||||
@${ECHODIR} "===> ${_tool}"; \
|
||||
cd ${.CURDIR}/${_tool}; \
|
||||
${MAKE} DIRPRFX=${_tool}/ obj; \
|
||||
${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX}/legacy includes; \
|
||||
${MAKE} DIRPRFX=${_tool}/ depend; \
|
||||
${MAKE} DIRPRFX=${_tool}/ all; \
|
||||
${MAKE} DIRPRFX=${_tool}/ DESTDIR=${MAKEOBJDIRPREFIX}/legacy install
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user