diff options
author | sketch <sketch@pkgsrc.org> | 2005-05-18 20:12:49 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2005-05-18 20:12:49 +0000 |
commit | 7cdf1cbaf4cf819c49f14488afd375a6b07d961b (patch) | |
tree | 9ccd065c60d836bb39a9b204215633aa8ab88431 /mk | |
parent | ccc7ddf40e4b8c0e2f62738466e0ec430ae90b65 (diff) | |
download | pkgsrc-7cdf1cbaf4cf819c49f14488afd375a6b07d961b.tar.gz |
Reinstall BULK_PREREQ before running the post-build script as there may be
dependancies required for that script, an smtpd for example, as well.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bulk/build | 11 |
1 files changed, 10 insertions, 1 deletions
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 <hubertf@NetBSD.org> @@ -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 |