pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/bulk Reinstall BULK_PREREQ before running the post-...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6f1c131c0877
branches: trunk
changeset: 494055:6f1c131c0877
user: sketch <sketch%pkgsrc.org@localhost>
date: Wed May 18 20:12:49 2005 +0000
description:
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:
mk/bulk/build | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (26 lines):
diff -r 67d7b15fbd44 -r 6f1c131c0877 mk/bulk/build
--- a/mk/bulk/build Wed May 18 20:09:12 2005 +0000
+++ b/mk/bulk/build Wed May 18 20:12:49 2005 +0000
@@ -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@localhost>
@@ -356,6 +356,15 @@
#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
Home |
Main Index |
Thread Index |
Old Index