mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
f7e19a98fd
is because we populate these directories later, and a subsequent -DNOCLEAN build may fail. So, we put them in ${WORLDTMP}/build/usr/{include,lib} instead and adjust Makefile.boot. Again, this works on -stable and -current, but might break older versions. Submitted by: ru@
21 lines
628 B
Clojure
21 lines
628 B
Clojure
# $FreeBSD$
|
|
|
|
# FreeBSD didn't always have the __FBSDID() macro in <sys/cdefs.h>.
|
|
# We could do this with a sys/cdefs.h wrapper, but given that this would
|
|
# slow down all new builds for such a simple concept, we do it here.
|
|
.if defined(BOOTSTRAPPING) && \
|
|
( ${BOOTSTRAPPING} < 440001 || \
|
|
( ${BOOTSTRAPPING} >= 500000 && ${BOOTSTRAPPING} < 500024 ))
|
|
CFLAGS+= -D__FBSDID=__RCSID
|
|
.endif
|
|
|
|
CFLAGS+= -I${WORLDTMP}/build/usr/include
|
|
DPADD= ${WORLDTMP}/build/usr/lib/libbuild.a
|
|
LDADD= -lbuild
|
|
LDFLAGS= -L${WORLDTMP}/build/usr/lib
|
|
|
|
OLD_MAKE_CONF?= /etc/make.conf
|
|
.if exists(${OLD_MAKE_CONF})
|
|
.include "${OLD_MAKE_CONF}"
|
|
.endif
|