If we are building docs with this release and PREFETCHDISTFILES is defined
then download the distfiles for the ports needed to build the docs before we enter the chroot environment. This is useful since often times releases get in a funk trying to download distfiles in the chroot. Approved by: re (murray, bmah) MFC after: 5 days
This commit is contained in:
parent
d06c0d4d40
commit
bb5e8f3f71
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=100760
@ -309,6 +309,13 @@ rerelease release:
|
||||
else \
|
||||
mkdir -p ${CHROOTDIR}/usr/ports/distfiles; \
|
||||
fi
|
||||
.if defined(PREFETCHDISTFILES)
|
||||
@for i in ${DOCPORTS}; do \
|
||||
cd ${CHROOTDIR}/usr/ports/$$i && \
|
||||
make PORTSDIR=${CHROOTDIR}/usr/ports BATCH=yes \
|
||||
JADETEX=no WITHOUT_PYTHON=yes fetch-recursive ; \
|
||||
done
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
.if make(rerelease)
|
||||
|
Loading…
Reference in New Issue
Block a user