diff options
author | gjb <gjb@FreeBSD.org> | 2013-11-07 04:13:27 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2013-11-07 04:13:27 +0000 |
commit | 912a6a5027b19a599d1cb965f0819a496d453f51 (patch) | |
tree | 435a2e059f3182fbeb85e91cb5e1d4e1bebd1b53 /release/release.sh | |
parent | c0de7084412665ddb3651dac3f30c12f0f92ffc5 (diff) | |
download | FreeBSD-src-912a6a5027b19a599d1cb965f0819a496d453f51.zip FreeBSD-src-912a6a5027b19a599d1cb965f0819a496d453f51.tar.gz |
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
Diffstat (limited to 'release/release.sh')
-rwxr-xr-x | release/release.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/release.sh b/release/release.sh index fbab2a8..a7bfc8e 100755 --- a/release/release.sh +++ b/release/release.sh @@ -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 |