svn commit: r257776 - stable/10/release
Glen Barber
gjb at FreeBSD.org
Thu Nov 7 04:13:28 UTC 2013
Author: gjb
Date: Thu Nov 7 04:13:27 2013
New Revision: 257776
URL: http://svnweb.freebsd.org/changeset/base/257776
Log:
MFC r257641:
When building the textproc/docproj port, the ports-mgmt/pkg port
needs /var/run/ld-elf*.so.hints, which is not automatically created.
Fix reldoc build by running the ldconfig(8) startup script in the
chroot directory before starting the port build phase.
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation
Modified:
stable/10/release/release.sh
Directory Properties:
stable/10/release/ (props changed)
Modified: stable/10/release/release.sh
==============================================================================
--- stable/10/release/release.sh Thu Nov 7 04:09:19 2013 (r257775)
+++ stable/10/release/release.sh Thu Nov 7 04:13:27 2013 (r257776)
@@ -167,6 +167,10 @@ mount -t devfs devfs ${CHROOTDIR}/dev
trap "umount ${CHROOTDIR}/dev" EXIT # Clean up devfs mount on exit
build_doc_ports() {
+ # Run ldconfig(8) in the chroot directory so /var/run/ld-elf*.so.hints
+ # is created. This is needed by ports-mgmt/pkg.
+ chroot ${CHROOTDIR} /etc/rc.d/ldconfig forcerestart
+
## Trick the ports 'run-autotools-fixup' target to do the right thing.
_OSVERSION=$(sysctl -n kern.osreldate)
if [ -d ${CHROOTDIR}/usr/doc ] && [ "x${NODOC}" = "x" ]; then
More information about the svn-src-all
mailing list