From 981908643c3840140ea285e79c355f27c3f0e13a Mon Sep 17 00:00:00 2001 From: sketch Date: Wed, 18 May 2005 20:12:49 +0000 Subject: Reinstall BULK_PREREQ before running the post-build script as there may be dependancies required for that script, an smtpd for example, as well. --- mk/bulk/build | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/mk/bulk/build b/mk/bulk/build index 06bb213aefd..e28da38c39a 100644 --- a/mk/bulk/build +++ b/mk/bulk/build @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: build,v 1.49 2005/05/03 16:34:02 jlam Exp $ +# $NetBSD: build,v 1.50 2005/05/18 20:12:49 sketch Exp $ # # Copyright (c) 1999, 2000 Hubert Feyrer @@ -356,6 +356,15 @@ echo "Post processing bulk build results..." #rm $DEPENDSTREEFILE $DEPENDSFILE $SUPPORTSFILE $INDEXFILE $ORDERFILE +# Re-install BULK_PREREQ as we may need functionality (e.g. SMTP) provided by +# them for post-build to run. +echo "Re-installing prerequisite packages specified with BULK_PREREQ..." +for pkgdir in $BULK_PREREQ +do + echo $pkgdir + ( cd ${USR_PKGSRC}/$pkgdir && ${BMAKE} bulk-install ) +done + # Perl was wiped, reinstall it! ( cd pkgtools/pkglint && cd ${PERL5_PKGSRCDIR} && ${BMAKE} bulk-install ) perl mk/bulk/post-build | ${MAIL_CMD} -s "pkgsrc ${OPSYS} ${OS_VERSION}/${MACHINE_ARCH} bulk build results `date +%Y-%m-%d`" $ADMIN -- cgit v1.2.3